diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-08 07:51:58 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-08 07:51:58 +0000 |
commit | 34c75d62155ca9cd7ffb51cb592189d1c404bf5c (patch) | |
tree | fca111bb5e12c5d6f18b9f0914e785596a2551fa /usr.sbin | |
parent | 03ea83713a04822f35c71433aa9f1886fa29efc5 (diff) | |
download | FreeBSD-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.c | 5 |
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; } |