summaryrefslogtreecommitdiffstats
path: root/twin/kompmgr
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-11 16:18:46 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-11 16:46:10 -0500
commited123019baadb34c9507ebe0bf347ecd679d994b (patch)
tree86cbd6bb92115e9f6b1b5699a057ad5c4078d8e6 /twin/kompmgr
parent864059732e6d5147c1d241c40667e1e2f4a16465 (diff)
downloadtdebase-ed123019baadb34c9507ebe0bf347ecd679d994b.tar.gz
tdebase-ed123019baadb34c9507ebe0bf347ecd679d994b.zip
Fix kompmgr not respecting user settings
Diffstat (limited to 'twin/kompmgr')
-rw-r--r--twin/kompmgr/kompmgr.c5
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];