diff options
author | zbstao <zhongbin757@foxmail.com> | 2022-02-15 04:41:21 +0300 |
---|---|---|
committer | zbstao <zhongbin757@foxmail.com> | 2022-02-15 04:41:21 +0300 |
commit | ff39ce719e966ecd2b104e1c3cc87a2f34f6a928 (patch) | |
tree | 4f92ad870f2d42c911978c8a46d059973f8f134b /sesman | |
parent | 82b1aab9bac7f05d04fcca7a1e9d81495c5b1b65 (diff) |
Fixed possible infinite loop
Fixed possible infinite loop
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sig.c b/sesman/sig.c index fabff3af..cc29dea1 100644 --- a/sesman/sig.c +++ b/sesman/sig.c @@ -131,7 +131,7 @@ sig_sesman_session_end(int sig) session_kill(pid); } } - while (pid >= 0); + while (pid > 0); } /******************************************************************************/ |