diff --git a/scripts/restore b/scripts/restore index fe6325c..c2459ec 100644 --- a/scripts/restore +++ b/scripts/restore @@ -30,8 +30,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= 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