debian: ovs-monitor-ipsec requires root_prefix option.
[openvswitch] / debian / ovs-monitor-ipsec
index 444b23417117f291ce5419535e5d943abc349e59..f7bdf1da0c02ce8628ea399f6440e6466312b213 100755 (executable)
@@ -436,7 +436,8 @@ def main():
     ovs.daemon.handle_args(args)
 
     global root_prefix
-    root_prefix = args.root_prefix
+    if args.root_prefix:
+        root_prefix = args.root_prefix
 
     remote = args.database
     schema_file = "%s/vswitch.ovsschema" % ovs.dirs.PKGDATADIR