diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2009-04-02 17:14:35 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2009-04-02 17:14:35 -0400 |
| commit | b794f6ea5a49e42660702591b6e9acf3f16956fe (patch) | |
| tree | 0ff659f6c70b3fe512980b890dae9eea46610882 /src/credmonger.c | |
| parent | d35c014630633a3548d3ebc9a4dd3ea6993ec265 (diff) | |
| download | credmonger-b794f6ea5a49e42660702591b6e9acf3f16956fe.tar.gz credmonger-b794f6ea5a49e42660702591b6e9acf3f16956fe.tar.xz credmonger-b794f6ea5a49e42660702591b6e9acf3f16956fe.zip | |
- initscript fixes
- catch SIGTERM
Diffstat (limited to 'src/credmonger.c')
| -rw-r--r-- | src/credmonger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/credmonger.c b/src/credmonger.c index aff8c40..c6a37a4 100644 --- a/src/credmonger.c +++ b/src/credmonger.c @@ -657,6 +657,7 @@ main(int argc, char **argv) (long) howlong); signal(SIGHUP, setreload); signal(SIGINT, setquit); + signal(SIGTERM, setquit); signal(SIGQUIT, setquit); howlong = sleep(howlong); }; |
