From 4e940b3b41e48c8918f69ba3076fed539adfea4b Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 26 Feb 2019 01:11:59 +0100 Subject: [PATCH] remove improvement script --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 92b325f..63d80a6 100644 --- a/scripts/remove +++ b/scripts/remove @@ -44,7 +44,7 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # Remove a service from the admin panel, added by `yunohost service add` -if yunohost service status | grep -q $service_name +if yunohost service status $service_name >/dev/null 2>&1 then ynh_print_info "Removing $app service" yunohost service remove $service_name