diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mktemp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mktemp.c b/src/mktemp.c index 05530a31a..074676f61 100644 --- a/src/mktemp.c +++ b/src/mktemp.c @@ -335,7 +335,8 @@ main (int argc, char **argv) int saved_errno = errno; remove (dest_name); if (!suppress_file_err) - error (EXIT_FAILURE, saved_errno, _("write error")); + error (0, saved_errno, _("write error")); + status = EXIT_FAILURE; } } |