From ca29aa5245a3d6a3b026ada2e9c82283f71564c6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 20 Aug 2014 21:23:26 +0200 Subject: remove old debug print + mds kernel should ignore danger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mds.c') 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. */ -- cgit v1.2.3-70-g09d2