commit 888f217aba727063885356099ae4a726c60934d0 Author: Jeffrey Bastian Date: Wed May 5 17:55:17 2010 -0500 Don't print the history if in verbose mode Author: Vojtech Vitek (V-Teq) Date: Wed Jan 26 15:28:17 2011 +0100 - Add if statement to fix error message on exit "verbose: Undefined variable." diff --git a/sh.c b/sh.c index 178b972..0caa51b 100644 --- a/sh.c +++ b/sh.c @@ -1378,6 +1378,9 @@ main(argc, argv) xprintf("exit\n"); } } + /* Don't print the history file to the terminal */ + if (adrof1(STRverbose, &shvhed) != 0) + unsetv(STRverbose); record(); exitstat(); return (0);