diff --git a/scripts/restore b/scripts/restore index 7d4a9f0..f1141f7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -35,7 +35,8 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -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