26 lines
850 B
Diff
26 lines
850 B
Diff
X-Git-Url: https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blobdiff_plain;f=src%2Fchmod.c;h=57ac47f33a8c8643f8b22f29d81b8303db06b93b;hp=37b04f5006bbcd049b2ae1be1b2e0f73730e2dd5;hb=e8b56ebd536e82b15542a00c888109471936bfda;hpb=6f38c4b27921a57a2bb5d999549411c2abe2fae6
|
|
|
|
diff --git a/src/chmod.c b/src/chmod.c
|
|
index 37b04f5..57ac47f 100644
|
|
--- a/src/chmod.c
|
|
+++ b/src/chmod.c
|
|
@@ -44,8 +44,8 @@ struct change_status
|
|
enum
|
|
{
|
|
CH_NO_STAT,
|
|
- CH_NOT_APPLIED,
|
|
CH_FAILED,
|
|
+ CH_NOT_APPLIED,
|
|
CH_NO_CHANGE_REQUESTED,
|
|
CH_SUCCEEDED
|
|
}
|
|
@@ -322,7 +322,7 @@ process_file (FTS *fts, FTSENT *ent)
|
|
if ( ! recurse)
|
|
fts_set (fts, ent, FTS_SKIP);
|
|
|
|
- return CH_NO_CHANGE_REQUESTED <= ch.status;
|
|
+ return CH_NOT_APPLIED <= ch.status;
|
|
}
|
|
|
|
/* Recursively change the modes of the specified FILES (the last entry
|