From fc47ebbe5787523213a859e8bfd9ffcb5da1c582 Mon Sep 17 00:00:00 2001 From: Kayou Date: Wed, 22 May 2019 20:40:53 +0200 Subject: [PATCH] user ynh_exec_warn_less --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 71b1224..2d53976 100755 --- a/scripts/remove +++ b/scripts/remove @@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # Remove a service from the admin panel, added by `yunohost service add` -if yunohost service status $app >/dev/null 2>&1 +if ynh_exec_warn_less yunohost service status $app >/dev/null then ynh_script_progression --message="Removing $app service..." --time --weight=1 yunohost service remove $app