diff --git a/scripts/restore b/scripts/restore index 2a1b644..151572f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,7 @@ admin=$(ynh_app_setting_get --app=$app --key=admin) #================================================= ynh_script_progression --message="Validating restoration parameters..." -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # ACTIVATE MAINTENANCE MODE