Add explicit exit calls to update_script functions (#8752)

This commit is contained in:
CanbiZ
2025-10-30 05:03:54 -07:00
committed by GitHub
parent 2d9d62118f
commit 5a92816946
31 changed files with 36 additions and 42 deletions

View File

@@ -62,7 +62,6 @@ function update_script() {
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
$STD /opt/cronicle/bin/control.sh start
msg_ok "Installed Cronicle Worker"
echo -e "\n Add Masters secret key to /opt/cronicle/conf/config.json \n"
exit
fi