Commit | Line | Data |
---|---|---|
ed96275c VM |
1 | 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 |
2 | ||
3 | diff --git a/src/chmod.c b/src/chmod.c | |
4 | index 37b04f5..57ac47f 100644 | |
5 | --- a/src/chmod.c | |
6 | +++ b/src/chmod.c | |
7 | @@ -44,8 +44,8 @@ struct change_status | |
8 | enum | |
9 | { | |
10 | CH_NO_STAT, | |
11 | - CH_NOT_APPLIED, | |
12 | CH_FAILED, | |
13 | + CH_NOT_APPLIED, | |
14 | CH_NO_CHANGE_REQUESTED, | |
15 | CH_SUCCEEDED | |
16 | } | |
17 | @@ -322,7 +322,7 @@ process_file (FTS *fts, FTSENT *ent) | |
18 | if ( ! recurse) | |
19 | fts_set (fts, ent, FTS_SKIP); | |
20 | ||
21 | - return CH_NO_CHANGE_REQUESTED <= ch.status; | |
22 | + return CH_NOT_APPLIED <= ch.status; | |
23 | } | |
24 | ||
25 | /* Recursively change the modes of the specified FILES (the last entry |