diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-20 21:23:26 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-20 21:23:26 +0200 |
commit | ca29aa5245a3d6a3b026ada2e9c82283f71564c6 (patch) | |
tree | aaab0e9db5baea2dab17ec41ecddb206ba932b1e | |
parent | add todo for kkbd on what to free on danger (diff) | |
download | mds-ca29aa5245a3d6a3b026ada2e9c82283f71564c6.tar.gz mds-ca29aa5245a3d6a3b026ada2e9c82283f71564c6.tar.bz2 mds-ca29aa5245a3d6a3b026ada2e9c82283f71564c6.tar.xz |
remove old debug print + mds kernel should ignore danger
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -103,6 +103,10 @@ int main(int argc_, char** argv_) if (xsigaction(SIGUSR1, SIG_IGN) < 0) perror(*argv); + /* Set up to ignore SIGDANGER. */ + if (xsigaction(SIGDANGER, SIG_IGN) < 0) + perror(*argv); + /* Create directory for socket files, PID files and such. */ if (create_directory_root(MDS_RUNTIME_ROOT_DIRECTORY)) return 1; @@ -513,7 +517,6 @@ int unlink_recursive(const char* pathname) if (errno != EISDIR) goto pfail; unlink_recursive(file->d_name); - eprint("pop"); } /* Remove the drectory. */ |