fix(bkgpslog):Minor checkdir edge case for no argument
[EVA-2020-02.git] / exec / bkgpslog
index 9a3744a01cb97ab64d19138356ed74953d4d714a..1b71175c8b59ad3546029d2a1c1bf859c50c4cb2 100755 (executable)
@@ -97,8 +97,10 @@ checkdir() {
            dirRollCall["$arg"]="true";
            #echo "DEBUG:dirRollCall[\"$arg\"]:"${dirRollCall["$arg"]}
            if ! [ "$returnState" = "false" ]; then returnState="true"; fi
-       else
+       elif [ "$arg" = "" ]; then
            dirRollCall["$arg"]="false"; returnState="false";
+       else
+           returnState="false";
        fi
     done