diff options
-rw-r--r-- | src/chcon.c | 5 | ||||
-rw-r--r-- | src/chmod.c | 5 | ||||
-rw-r--r-- | src/chown-core.c | 5 | ||||
-rw-r--r-- | src/du.c | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/src/chcon.c b/src/chcon.c index 83d0583f8..7e8250d3d 100644 --- a/src/chcon.c +++ b/src/chcon.c @@ -325,7 +325,10 @@ process_files (char **files, int bit_flags) } if (fts_close (fts) != 0) - ok = false; + { + error (0, errno, _("fts_close failed")); + ok = false; + } return ok; } diff --git a/src/chmod.c b/src/chmod.c index 0688979df..282eadaff 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -336,7 +336,10 @@ process_files (char **files, int bit_flags) } if (fts_close (fts) != 0) - ok = false; + { + error (0, errno, _("fts_close failed")); + ok = false; + } return ok; } diff --git a/src/chown-core.c b/src/chown-core.c index 82e96442a..705a29bd3 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -510,7 +510,10 @@ chown_files (char **files, int bit_flags, } if (fts_close (fts) != 0) - ok = false; + { + error (0, errno, _("fts_close failed")); + ok = false; + } return ok; } @@ -643,7 +643,10 @@ du_files (char **files, int bit_flags) } if (fts_close (fts) != 0) - ok = false; + { + error (0, errno, _("fts_close failed")); + ok = false; + } } return ok; |