chmod-fix.patch 506 B

12345678910111213141516171819202122
  1. diff --git a/src/chmod.c b/src/chmod.c
  2. index 37b04f500..57ac47f33 100644
  3. --- a/src/chmod.c
  4. +++ b/src/chmod.c
  5. @@ -44,8 +44,8 @@ struct change_status
  6. enum
  7. {
  8. CH_NO_STAT,
  9. - CH_NOT_APPLIED,
  10. CH_FAILED,
  11. + CH_NOT_APPLIED,
  12. CH_NO_CHANGE_REQUESTED,
  13. CH_SUCCEEDED
  14. }
  15. @@ -322,7 +322,7 @@ process_file (FTS *fts, FTSENT *ent)
  16. if ( ! recurse)
  17. fts_set (fts, ent, FTS_SKIP);
  18. - return CH_NO_CHANGE_REQUESTED <= ch.status;
  19. + return CH_NOT_APPLIED <= ch.status;
  20. }