diff --git a/scripts/restore b/scripts/restore index 84e0cf8..ec3fb61 100644 --- a/scripts/restore +++ b/scripts/restore @@ -42,8 +42,7 @@ enable_extensions="$(ynh_app_setting_get --app=$app --key=enable_extensions)" #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -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 " #================================================= # STANDARD RESTORATION STEPS