From 881197fc583749e341311e28c024c50e21cb2031 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 7 Dec 2021 22:40:13 +0100 Subject: fix linter --- scripts/restore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/restore') diff --git a/scripts/restore b/scripts/restore index 7a3808b..68ff2b0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -41,10 +41,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" -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 -- cgit v1.2.3-70-g09d2