summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.umntall
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-12-09 20:18:36 +0000
committeriedowse <iedowse@FreeBSD.org>2001-12-09 20:18:36 +0000
commit3791f11fd7fe987e0032e6a179b06be3e6a48930 (patch)
treeecbbce2fd34e164c4d0f101beff992e83a9ed660 /usr.sbin/rpc.umntall
parent5a9c67b398603c720b3f08d83fb9a6fc6413ffc0 (diff)
downloadFreeBSD-src-3791f11fd7fe987e0032e6a179b06be3e6a48930.zip
FreeBSD-src-3791f11fd7fe987e0032e6a179b06be3e6a48930.tar.gz
Don't ignore SIGINT and SIGQUIT. The comment said "Ignore SIGINT
and SIGQUIT during shutdown", but rpc.umntall is also run at boot time, so ignoring these signals is a really bad idea: it makes it impossible to ^C the process as it waits for a server response. I can't see any reason to block these signals during shutdown either. MFC after: 3 days
Diffstat (limited to 'usr.sbin/rpc.umntall')
-rw-r--r--usr.sbin/rpc.umntall/rpc.umntall.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/rpc.umntall/rpc.umntall.c b/usr.sbin/rpc.umntall/rpc.umntall.c
index fd13850..17a5d0a 100644
--- a/usr.sbin/rpc.umntall/rpc.umntall.c
+++ b/usr.sbin/rpc.umntall/rpc.umntall.c
@@ -88,10 +88,6 @@ main(int argc, char **argv) {
argc -= optind;
argv += optind;
- /* Ignore SIGINT and SIGQUIT during shutdown */
- signal(SIGINT, SIG_IGN);
- signal(SIGQUIT, SIG_IGN);
-
/* Default expiretime is one day */
if (expire == 0)
expire = 86400;
OpenPOWER on IntegriCloud