diff --git a/uninstall.sh b/uninstall.sh index 189c8b3..315955c 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -30,7 +30,7 @@ $sudo_cmd rm -f /usr/local/bin/goldilocks $sudo_cmd rm -rf /usr/local/lib/node_modules/goldilocks $sudo_cmd rm -f "$MY_ROOT/$my_app_etc_config" -$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") +$sudo_cmd rmdir -p $(dirname "$MY_ROOT/$my_app_etc_config") 2>/dev/null $sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_service" $sudo_cmd rm -f "$MY_ROOT/$my_app_systemd_tmpfiles" $sudo_cmd rm -f "$MY_ROOT/$my_app_launchd_service"