summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-08-08 07:51:58 +0000
committerdelphij <delphij@FreeBSD.org>2006-08-08 07:51:58 +0000
commit34c75d62155ca9cd7ffb51cb592189d1c404bf5c (patch)
treefca111bb5e12c5d6f18b9f0914e785596a2551fa /usr.sbin
parent03ea83713a04822f35c71433aa9f1886fa29efc5 (diff)
downloadFreeBSD-src-34c75d62155ca9cd7ffb51cb592189d1c404bf5c.zip
FreeBSD-src-34c75d62155ca9cd7ffb51cb592189d1c404bf5c.tar.gz
Shutdown curses when exit. While I am there, remove a stale
comment which does not apply to sade(8).
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c
index 86dd16b..a583c3c 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;
}
OpenPOWER on IntegriCloud