diff options
Diffstat (limited to 'eval_error.c')
-rw-r--r-- | eval_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c index c6a1252ef9..401eba8c54 100644 --- a/eval_error.c +++ b/eval_error.c @@ -170,8 +170,8 @@ error_print(void) } if (tail) { warn_print2(tail, elen - len - 1); - if (einfo[elen-1] != '\n') warn_print2("\n", 1); } + if (tail ? einfo[elen-1] != '\n' : !epath) warn_print2("\n", 1); } } |