aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-24 00:56:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-24 00:56:59 +0200
commita750c1bfaad6887953db2c834456b4a0ed73e37e (patch)
tree4c884d71cc724e6314cd648587188b0f83e47e15 /src/mds.c
parentm + do not any assumtion of int typedefs (diff)
downloadmds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.gz
mds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.bz2
mds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.xz
if the system is awesome enough to have sigupdate defined, use it instead of sigusr1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds.c b/src/mds.c
index 36d3465..cc6adfd 100644
--- a/src/mds.c
+++ b/src/mds.c
@@ -99,8 +99,8 @@ int main(int argc_, char** argv_)
exit_if (geteuid() != ROOT_USER_UID,
eprint("the effective user is not root, cannot continue."););
- /* Set up to ignore SIGUSR1, used in mds for re-exec, but we cannot re-exec. */
- if (xsigaction(SIGUSR1, SIG_IGN) < 0)
+ /* Set up to ignore SIGUPDATE, used in mds for re-exec, but we cannot re-exec. */
+ if (xsigaction(SIGUPDATE, SIG_IGN) < 0)
perror(*argv);
/* Set up to ignore SIGDANGER. */