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