diff --git a/scripts/upgrade b/scripts/upgrade index 5187e2f..4989326 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" # Void and recreate final_path ynh_secure_remove --file="$final_path" -ynh_exec_warn_less sudo -u $app mkdir "$final_path" +ynh_exec_warn_less sudo mkdir "$final_path" if [ "$upgrade_type" == "UPGRADE_APP" ] then