Merge pull request #93 from YunoHost/ynh_exec_warn_less
user ynh_exec_warn_less
This commit is contained in:
commit
9985544268
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
# 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
|
then
|
||||||
ynh_script_progression --message="Removing $app service..." --time --weight=1
|
ynh_script_progression --message="Removing $app service..." --time --weight=1
|
||||||
yunohost service remove $app
|
yunohost service remove $app
|
||||||
|
|
Loading…
Reference in a new issue