diff options
author | Ben Pfaff <blp@nicira.com> | 2009-01-19 15:54:22 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-01-19 15:55:25 -0800 |
commit | 2ccc7faa9c14716778889d71c10dc67f06eb7593 (patch) | |
tree | 469b1987f94976cbf84dbf56dc5b093083d5ab6a | |
parent | 6e3b334bf2f16e0c59fe5751548f1b6367994307 (diff) | |
download | openvswitch-2ccc7faa9c14716778889d71c10dc67f06eb7593.tar.gz |
debian: Avoid aborting on switch startup when $COMMANDS is empty.
-rwxr-xr-x | debian/openflow-switch.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/openflow-switch.init b/debian/openflow-switch.init index fa17d2baf..f4571b2a0 100755 --- a/debian/openflow-switch.init +++ b/debian/openflow-switch.init @@ -269,7 +269,7 @@ case "$1" in COMMAND_OPT= if test -n "$COMMANDS"; then - COMMAND_OPT="--command-acl=$COMMANDS" + COMMAND_OPT="--command-acl='$COMMANDS'" fi if test "$MODE" = out-of-band; then @@ -284,7 +284,7 @@ case "$1" in start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- nl:0 $CONTROLLER --detach --pidfile=$PIDFILE \ --verbose=ANY:console:emer --verbose=ANY:syslog:err --log-file \ - $DAEMON_OPTS $MGMT_OPTS $MONITOR_OPT $SSL_OPTS "$COMMAND_OPT" + $DAEMON_OPTS $MGMT_OPTS $MONITOR_OPT $SSL_OPTS $COMMAND_OPT if running; then echo "$NAME." else |