diff options
-rw-r--r-- | usr.bin/top/top.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c index 579f8bc7cdb..6db7345dd5b 100644 --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -1,4 +1,4 @@ -/* $OpenBSD: top.c,v 1.65 2007/11/29 10:06:30 otto Exp $ */ +/* $OpenBSD: top.c,v 1.66 2009/06/04 19:01:30 sthen Exp $ */ /* * Top users/processes display for Unix @@ -190,6 +190,8 @@ parseargs(int ac, char **av) case 'd': /* number of displays to show */ if ((i = atoiwi(optarg)) != Invalid && i != 0) { displays = i; + if (displays == 1) + interactive = No; break; } new_message(MT_delayed, |