summaryrefslogtreecommitdiffstats
path: root/bin/sh/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r--bin/sh/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c
index 962546b..9dd4fd7 100644
--- a/bin/sh/main.c
+++ b/bin/sh/main.c
@@ -141,11 +141,7 @@ main(int argc, char *argv[])
exitshell(exitstatus);
}
reset();
- if (exception == EXINT
-#if ATTY
- && (! attyset() || equal(termval(), "emacs"))
-#endif
- ) {
+ if (exception == EXINT) {
out2c('\n');
flushout(&errout);
}
OpenPOWER on IntegriCloud