Make set_pidfile() easier to use.
[sliver-openvswitch.git] / secchan / secchan.c
index 5577a27..3c96312 100644 (file)
@@ -754,7 +754,7 @@ parse_options(int argc, char *argv[])
             break;
 
         case 'P':
-            set_pidfile(optarg ? optarg : "secchan.pid");
+            set_pidfile(optarg);
             break;
 
         case 'l':