aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-20 21:23:26 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-20 21:23:26 +0200
commitca29aa5245a3d6a3b026ada2e9c82283f71564c6 (patch)
treeaaab0e9db5baea2dab17ec41ecddb206ba932b1e /src
parentadd todo for kkbd on what to free on danger (diff)
downloadmds-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>
Diffstat (limited to '')
-rw-r--r--src/mds.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mds.c b/src/mds.c
index cb8e657..f47e758 100644
--- a/src/mds.c
+++ b/src/mds.c
@@ -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. */