summaryrefslogtreecommitdiffstats
path: root/packager/openslx
diff options
context:
space:
mode:
Diffstat (limited to 'packager/openslx')
-rwxr-xr-xpackager/openslx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packager/openslx b/packager/openslx
index 69102564..6845f9ba 100755
--- a/packager/openslx
+++ b/packager/openslx
@@ -32,7 +32,7 @@ else
fi
# setup trap
-trap cleanexit SIGINT SIGTERM
+trap do_cleanup SIGINT SIGTERM SIGUSR1 EXIT
# read params
read_params $@
@@ -40,3 +40,4 @@ read_params $@
# react to given action
process_action
+exit 0