diff --git a/Containers/nextcloud/cron.sh b/Containers/nextcloud/cron.sh index 87f6bf7a..a8f6c522 100644 --- a/Containers/nextcloud/cron.sh +++ b/Containers/nextcloud/cron.sh @@ -8,7 +8,7 @@ wait_for_cron() { sleep 5 done echo "Cronjob successfully exited." - set +x + exit } trap wait_for_cron SIGINT SIGTERM