diff --git a/usr.sbin/gstat/gstat.c b/usr.sbin/gstat/gstat.c index 6d3a6981be51..6c6c4ad20af5 100644 --- a/usr.sbin/gstat/gstat.c +++ b/usr.sbin/gstat/gstat.c @@ -228,5 +228,7 @@ main(int argc, char **argv) break; } } + + endwin(); exit (0); }