You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't tested this patch but it should work around the issue. The correct fix would be to have dedicated option parsing for --equal, just like --is-reflink and --dedupe - I disagree with the conclusion in #483 that it is fine as-is, because although it uses the main "shredder" code, it should only allow a narrow subset of options because of its specific purpose.
Just to restate in case it gets forgotten:
As mentioned (#553)
the problem is that the running rmlint.sh can currently overwrite itself as it is executing - and this can in fact change what is being executed leading to unexpected results
Calling
sudo ./rmlint.sh -px
A directory compare takes place for example if paranoid mode is selected.
The resulting call to rmlint (the command not the script) overwrites the rmlint.sh and rmlint.json despite -x being specified
This can be a little disconcerting
The text was updated successfully, but these errors were encountered: