Commit 57e3d22a authored by Richard M. Stallman's avatar Richard M. Stallman

(main): For SIGHUP, use sigblock and sigunblock,

not sigblockx and sigunblockx.
parent 2a5af1cf
......@@ -675,13 +675,13 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#endif
)
{
sigblockx (SIGHUP);
sigblock (sigmask (SIGHUP));
/* In --batch mode, don't catch SIGHUP if already ignored.
That makes nohup work. */
if (! noninteractive
|| signal (SIGHUP, SIG_IGN) != SIG_IGN)
signal (SIGHUP, fatal_error_signal);
sigunblockx (SIGHUP);
sigunblock (sigmask (SIGHUP));
}
if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment