git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make set_pidfile() easier to use.
[sliver-openvswitch.git]
/
switch
/
switch.c
diff --git
a/switch/switch.c
b/switch/switch.c
index
ee61fd6
..
d745bc8
100644
(file)
--- a/
switch/switch.c
+++ b/
switch/switch.c
@@
-200,7
+200,7
@@
parse_options(int argc, char *argv[])
break;
case 'P':
- set_pidfile(optarg
? optarg : "switch.pid"
);
+ set_pidfile(optarg);
break;
case 'v':