diff --git a/helpers/utils b/helpers/utils index bc83888e9..cd3b1b8d2 100644 --- a/helpers/utils +++ b/helpers/utils @@ -718,7 +718,7 @@ _acceptable_path_to_delete() { local forbidden_paths=$(ls -d / /* /{var,home,usr}/* /etc/{default,sudoers.d,yunohost,cron*}) # Legacy : A couple apps still have data in /home/$app ... - if [[ -n "$app" ]] + if [[ -n "${app:-}" ]] then forbidden_paths=$(echo "$forbidden_paths" | grep -v "/home/$app") fi