Minor fixes

This commit is contained in:
Sergey Poznyakoff
2009-08-08 22:33:16 +03:00
parent 51aee274e8
commit acd833fb98
3 changed files with 25 additions and 8 deletions
+7 -3
View File
@@ -762,9 +762,13 @@ dir_removed_diag (const char *name, bool top_level,
void (*diagfn) (char const *name))
{
if (!top_level && errno == ENOENT)
WARNOPT (WARN_FILE_REMOVED,
(0, 0, _("%s: Directory removed before we read it"),
quotearg_colon (name)));
{
WARNOPT (WARN_FILE_REMOVED,
(0, 0, _("%s: Directory removed before we read it"),
quotearg_colon (name)));
if (exit_status == TAREXIT_SUCCESS)
exit_status = TAREXIT_DIFFERS;
}
else
diagfn (name);
}