aboutsummaryrefslogtreecommitdiffstats
path: root/bin/nfextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nfextract.c')
-rw-r--r--bin/nfextract.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/nfextract.c b/bin/nfextract.c
index 8d8ef2e..d7fc9ae 100644
--- a/bin/nfextract.c
+++ b/bin/nfextract.c
@@ -50,10 +50,9 @@ const char *help_text =
" -v --version print version information\n"
"\n";
-static void sig_handler(int signo) {
- if (signo == SIGHUP) {
- /* TODO */
- }
+void sig_handler(int signo) {
+ if (signo == SIGHUP)
+ puts("Terminated due to SIGHUP ...");
}
static void extract_each(const char *storage_dir, const char *filename) {