From 74bd8b3aa5654071c78d7e0476ce29aa4332d274 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 7 Mar 2021 19:04:22 -0500 Subject: [PATCH] * file.c (remove_intermediates): Restart "rm ..." on error --- src/file.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; + } } } }