From 34c75d62155ca9cd7ffb51cb592189d1c404bf5c Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 8 Aug 2006 07:51:58 +0000 Subject: [PATCH] Shutdown curses when exit. While I am there, remove a stale comment which does not apply to sade(8). --- usr.sbin/sade/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index 86dd16b8e817..a583c3c3b00f 100644 --- a/usr.sbin/sade/main.c +++ b/usr.sbin/sade/main.c @@ -121,5 +121,8 @@ main(int argc, char **argv) break; } - return 0; /* We should never get here */ + /* Shut down curses */ + endwin(); + + return 0; }