X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/60fdb80b59ff5d5f384ed8bd92f1203feafd1dd7..cdd1f1a9ef8799e9ddd3d65009387db2fc9550b3:/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