Did you check the documentation? Tl;Dr: it is documented! KR, Eric
On 16 February 2023 07:40:32 GMT+01:00, tbsky <tb...@annsky.com> wrote: >Hi: > I upgrade our rdiff-backup version from 2.0.5 to 2.2 (the package comes > with RHEL 9.1). if I issue command like below: > >version 2.2: >#>rdiff-backup remove increments --older-than 10B my-backup >NOTE: No increments older than Wed Feb 1 04:15:41 2023 found, exiting. >WARNING: No increment is older than '10B' >WARNING: Action remove emitted warnings, see previous messages for details >#>echo $? >2 > >version 2.0.5: >#>rdiff-backup --remove-older-than 10B my-backup >No increments older than Fri Jan 6 01:00:06 2023 found, exiting. >#>echo $? >0 > >old version return ok when there is nothing to remove. but 2.2 return error. >is this a regression or changed behavior? >if this is a new behavior, I hope the return code "2" will keep >fixed/documented so the backup script can handle the situation. > >thanks a lot for confirm. > >Regards, >tbsky >