diff options
Diffstat (limited to 'satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript')
-rwxr-xr-x | satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript index 9ff600b..7a2aa63 100755 --- a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript +++ b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript @@ -12,6 +12,7 @@ FILE=$(mktemp) if ! timeout -k 3 60 php /srv/openslx/www/slx-admin/api.php cron >"$FILE" 2>&1; then php /srv/openslx/www/slx-admin/api.php cron --crashreport "$FILE" fi +cat "$FILE" rm -f -- "$FILE" "$PIDFILE" exit 0 |