diff --git a/scripts/functions.sh b/scripts/functions.sh index 62cbd47..50247f6 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -53,11 +53,8 @@ CONFIG_NGINX () { } REMOVE_DUNITER () { - # Stop duniter daemon if running - duniter status - if [ `echo "$?"` == 0 ]; then - systemctl stop duniter - fi + # Stop duniter daemon + systemctl stop duniter # Remove Duniter package dpkg -r duniter