diff --git a/scripts/restore b/scripts/restore index 6bf2c97..37327b6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -38,8 +38,7 @@ public_path=$(ynh_app_setting_get --app=$app --key=public_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