CID 703478: probably can’t happen, but…
This commit is contained in:
4
main.c
4
main.c
@ -34,7 +34,7 @@
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.222 2012/05/05 17:32:33 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.223 2012/06/24 20:15:47 tg Exp $");
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
@ -623,7 +623,7 @@ main_init(int argc, const char *argv[], Source **sp, struct block **lp)
|
|||||||
}
|
}
|
||||||
Flag(FERREXIT) = errexit;
|
Flag(FERREXIT) = errexit;
|
||||||
|
|
||||||
if (Flag(FTALKING))
|
if (Flag(FTALKING) && s)
|
||||||
hist_init(s);
|
hist_init(s);
|
||||||
else
|
else
|
||||||
/* set after ENV */
|
/* set after ENV */
|
||||||
|
Reference in New Issue
Block a user