X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/60fdb80b59ff5d5f384ed8bd92f1203feafd1dd7..61b9303c77834c5504b25175d159546ace49a9a4:/unitproc/bktemplate diff --git a/unitproc/bktemplate b/unitproc/bktemplate index 82caf02..67fbf17 100755 --- a/unitproc/bktemplate +++ b/unitproc/bktemplate @@ -355,7 +355,7 @@ checkapp() { #===Process Args=== for arg in "$@"; do #echo "DEBUG:processing arg:$arg" - if command -v $arg 1>/dev/null 2>&1; then # Check if arg is a valid command + if command -v "$arg" 1>/dev/null 2>&1; then # Check if arg is a valid command appRollCall[$arg]="true"; #echo "DEBUG:appRollCall[$arg]:"${appRollCall[$arg]} if ! [ "$returnState" = "false" ]; then returnState="true"; fi