From: Ethan Jackson Date: Thu, 6 Oct 2011 01:07:04 +0000 (-0700) Subject: debian: ovs-monitor-ipsec requires root_prefix option. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f8424e0e18bf2c0be4d0800cc343b9d91ea897;p=openvswitch debian: ovs-monitor-ipsec requires root_prefix option. Before this patch, if the root_prefix option is left unset ovs-monitor-ipsec will crash. --- diff --git a/debian/ovs-monitor-ipsec b/debian/ovs-monitor-ipsec index 444b2341..f7bdf1da 100755 --- a/debian/ovs-monitor-ipsec +++ b/debian/ovs-monitor-ipsec @@ -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