From: Marcin Siodelski Date: Wed, 25 Jun 2014 09:53:41 +0000 (+0200) Subject: [3422] A couple of minor fixes in keactrl for bash. X-Git-Tag: trac3434_base~6^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dd1cc9d9fc54cb87c09cc91d48fda3a5ea5886e;p=thirdparty%2Fkea.git [3422] A couple of minor fixes in keactrl for bash. --- diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in index 6b153c63c0..5362cac1ea 100644 --- a/src/bin/keactrl/keactrl.in +++ b/src/bin/keactrl/keactrl.in @@ -139,14 +139,14 @@ as another instance is already running." # is dhcp4 run_conditional() { local server=${1} # Server name: dhcp4, dhcp6, dhcp_ddns - local command=${2} # Command to execute + local command="${2}" # Command to execute local check_file_cfg=${3} # Check if server enabled in the configuration file # If keyword "all" is not on the list of servers we will have to check # if our specific server is on the list. If, not return. - is_in_list "all" ${servers} + is_in_list "all" "${servers}" if [ ${_inlist} -eq 0 ]; then - is_in_list ${server} ${servers} + is_in_list ${server} "${servers}" if [ ${_inlist} -eq 0 ]; then return fi