diff --git a/install/assets/functions/00-container b/install/assets/functions/00-container index 1c6aefa..39195ec 100755 --- a/install/assets/functions/00-container +++ b/install/assets/functions/00-container @@ -301,11 +301,11 @@ db_ready() { } dir_empty() { - [ ! -n "$(ls -A $1)" ] + [ ! -n "$(ls -A $1 2>/dev/null)" ] } dir_notempty() { - [ -n "$(ls -A "$1")" ] + [ -n "$(ls -A $1 2>/dev/null)" ] } file_env() {