-
-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder switches in dbpath_fix find command #572
base: master
Are you sure you want to change the base?
Conversation
Hi. I gave this a quick look and I'm not sure if this change is correct. The find output differs, depending on the command order. I am not sure if the new output is still correct. |
My understanding is that this block of code is supposed to run if the |
@pjfbashton can you provide an acceptance test that valides this PR? |
This was still wrong as it would always return results regardless if ownership on files. The correct solution is to drop `-print` altogether.
Apologies for delayed response. You are actually correct. Proposed solution was not working as intended as it would always return results thus that exec would always run. Please see the following test 1 - mixed ownership
test 2 - ownership on all files is wrong
test 3 - ownership on all files is correct
As you can see from above 3 cases only find command without |
Pull Request (PR) description
Fix ordering of switches in
dbpath_fix
'sfind
commandThis Pull Request (PR) fixes the following issues
Fixes #571