From: Michael Tremer Date: Thu, 23 Nov 2017 16:09:00 +0000 (+0000) Subject: make.sh: Don't try to dump a non-existing logfile X-Git-Tag: v2.19-core117~1^2~61 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=66028310ce91a19618376223ca0f44e7adbdfaf7;hp=f3b7cf47caba72ed24d02b014f11cb14c7ea33a2 make.sh: Don't try to dump a non-existing logfile Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index de2d9aeade..44516af736 100755 --- a/make.sh +++ b/make.sh @@ -369,7 +369,7 @@ exiterror() { done # Dump logfile - if [ -n "${LOGFILE}" ]; then + if [ -n "${LOGFILE}" ] && [ -e "${LOGFILE}" ]; then echo # empty line local line