summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-02-20 16:29:12 +0000
committerjkh <jkh@FreeBSD.org>1997-02-20 16:29:12 +0000
commit8eb357fcb0c480f4280c48037ba5dc63ae22101e (patch)
tree6729eadbe4c6cbb7fc56d9afb93554db3bdb915e /usr.sbin/sade
parent8a1a9ae6d71bcc4b8f33ebf0fb64356298fe4e08 (diff)
downloadFreeBSD-src-8eb357fcb0c480f4280c48037ba5dc63ae22101e.zip
FreeBSD-src-8eb357fcb0c480f4280c48037ba5dc63ae22101e.tar.gz
Change handling of bad signals; there are reasons why this is actually
not such a great idea.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c
index ba11239..ed293b9 100644
--- a/usr.sbin/sade/main.c
+++ b/usr.sbin/sade/main.c
@@ -41,11 +41,7 @@
static void
screech(int sig)
{
- printf("\007Fatal signal %d caught! I'm dead..\n", sig);
- if (RunningAsInit)
- pause();
- else
- exit(1);
+ msgDebug("\007Signal %d caught! That's bad!\n", sig);
}
int
OpenPOWER on IntegriCloud