diff --git a/scripts/restore b/scripts/restore index 072f7fe..98fe8d2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -39,7 +39,7 @@ db_pwd=$(ynh_app_setting_get --app="$app" --key=psqlpwd) #================================================= ynh_print_info --message="Validating restoration parameters..." -ynh_webpath_available -domain="$domain" --path_url="$path_url" \ +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 "