diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/exec.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index a11982965..d59c99290 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-11-23 Barton E. Schaefer <schaefer@zsh.org> + + * 33775: Src/exec.c: error opening file in $(<...) is not fatal + 2014-11-23 Oliver Kiddle <opk@zsh.org> * 33743: Src/Modules/zpty.c, configure.ac: use posix_openpt diff --git a/Src/exec.c b/Src/exec.c index 042215d34..02a8fe3ad 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3840,8 +3840,8 @@ getoutput(char *cmd, int qt) return NULL; untokenize(s); if ((stream = open(unmeta(s), O_RDONLY | O_NOCTTY)) == -1) { - zerr("%e: %s", errno, s); - return NULL; + zwarn("%e: %s", errno, s); + return newlinklist(); } return readoutput(stream, qt); } |