]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
make.sh: Don't try to dump a non-existing logfile
[people/pmueller/ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index de2d9aeadea1b07c1b646bb7baed5e1caa61e636..44516af73685f08d1c80b39c5510aa7449d11879 100755 (executable)
--- 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