X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/60fdb80b59ff5d5f384ed8bd92f1203feafd1dd7..4caeddd71a0f06cdd6d1824e26e2703c9c91866f:/unitproc/bktemplate?ds=inline 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