Skip to content

Make rdiff-backup_testfiles.fix.sh idempotent.#2

Open
baikiet wants to merge 1 commit into
rdiff-backup:masterfrom
baikiet:patch-1
Open

Make rdiff-backup_testfiles.fix.sh idempotent.#2
baikiet wants to merge 1 commit into
rdiff-backup:masterfrom
baikiet:patch-1

Conversation

@baikiet
Copy link
Copy Markdown

@baikiet baikiet commented May 14, 2026

When running rdiff-backup_testfiles.fix.sh multiple times, chown and/or chgrp will eventually fail as they will be called without any argument. This change ensures that if find does not find any file, xargs does not run chown/chgrp.

When running `rdiff-backup_testfiles.fix.sh` multiple times, `chown` and/or `chgrp` will eventually fail as they will be called without any argument. This change ensures that if `find` does not find any file, `xargs` does not run `chown`/`chgrp`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant