elastio / elastio-snap

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
19 stars 7 forks source link

Fix xargs command conflicting options #277

Closed babinskiy closed 1 year ago

babinskiy commented 1 year ago

According to this: https://www.gnu.org/software/findutils/manual/html_node/find_html/Conflicting-xargs-options.html:

the options ‘--max-lines’ (‘-L’, ‘-l’), ‘--replace’ (‘-I’, ‘-i’) and ‘--max-args’ (‘-n’) are mutually exclusive. 

and according to this https://savannah.gnu.org/bugs/index.php?51220

The -I option already implies "-n 1" 

So the only effect of this change is removing warning message which was added in GNU xargs version >= 4.8.0

Closes #276