[COMMON] Fix condition bracket bashisms - step 1
[oom.git] / kubernetes / robot / demo-k8s.sh
index d48070c..099f80c 100755 (executable)
@@ -63,7 +63,7 @@ usage ()
 
 # Check if execscript flag is used and drop it from input arguments
 
-if [[ "${!#}" = "execscript" ]]; then
+if [ "${!#}" = "execscript" ]; then
         set -- "${@:1:$#-1}"
         execscript=true
 fi