diff --git a/plugins/config/commands b/plugins/config/commands index 616e5a473..0086a0ed4 100755 --- a/plugins/config/commands +++ b/plugins/config/commands @@ -73,7 +73,7 @@ case "$1" in fi config_create - if [ ! -f $ENV_FILE ] || [ ! -s $ENV_FILE ] ; then + if [[ ! -s $ENV_FILE ]] ; then echo "$APP has no config vars" exit 1 fi @@ -108,7 +108,7 @@ case "$1" in fi config_create - if [ ! -f $ENV_FILE ] || [ ! -s $ENV_FILE ] ; then + if [[ ! -s $ENV_FILE ]] ; then exit 1 fi