Simplify if statement
This commit is contained in:
1 parent
c6e39c08f0
commit
303bd77226
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user