From 2b615bedaff1d64a1521972717a91058c74b579f Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 23 Nov 2014 16:02:48 -0800 Subject: 33775: error opening file in $(<...) is not fatal --- Src/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/exec.c') 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); } -- cgit v1.2.3