From: Paul Smith Date: Mon, 8 Mar 2021 00:04:22 +0000 (-0500) Subject: * file.c (remove_intermediates): Restart "rm ..." on error X-Git-Tag: 4.3.90~190 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74bd8b3aa5654071c78d7e0476ce29aa4332d274;p=thirdparty%2Fmake.git * file.c (remove_intermediates): Restart "rm ..." on error --- diff --git a/src/file.c b/src/file.c index a979ca55..91368898 100644 --- a/src/file.c +++ b/src/file.c @@ -424,7 +424,11 @@ remove_intermediates (int sig) } } if (status < 0) - perror_with_name ("unlink: ", f->name); + { + perror_with_name ("\nunlink: ", f->name); + /* Start printing over. */ + doneany = 0; + } } } }