diff options
Diffstat (limited to 'twin/kompmgr/kompmgr.c')
-rw-r--r-- | twin/kompmgr/kompmgr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/twin/kompmgr/kompmgr.c b/twin/kompmgr/kompmgr.c index 55c1bebd1..d94b7aa11 100644 --- a/twin/kompmgr/kompmgr.c +++ b/twin/kompmgr/kompmgr.c @@ -441,8 +441,9 @@ void handle_siguser (int sig) { int uidnum; if (sig == SIGTERM) { - // Trap this signal and keep running... - return; + my_exit_code=0; + delete_pid_file(); + exit(0); } if (sig == SIGUSR1) { char newuid[1024]; |