diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.sh index e30deb4d..abc94d5c 100755 --- a/supplemental/scripts/install-agent.sh +++ b/supplemental/scripts/install-agent.sh @@ -785,9 +785,7 @@ EXTRA_HELP=" update Update the Beszel agent restart Restart the Beszel agent" update() { - if $BIN_PATH update | grep -q "Update completed successfully"; then - /etc/init.d/beszel-agent restart - fi + $BIN_PATH update } EOF