mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-daemon: Ignore SIGUSR1
No use dying or failing eventscripts if someone sends a random SIGUSR1. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Tue Jul 21 11:00:17 CEST 2015 on sn-devel-104
This commit is contained in:
parent
b0bc4d2cab
commit
6551591914
@ -1219,6 +1219,7 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork)
|
||||
}
|
||||
}
|
||||
ignore_signal(SIGPIPE);
|
||||
ignore_signal(SIGUSR1);
|
||||
|
||||
ctdb->ctdbd_pid = getpid();
|
||||
DEBUG(DEBUG_ERR, ("Starting CTDBD (Version %s) as PID: %u\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user