etc/periodic: fix off-by-one error in 220.snapshot-hammer2
authorDaniel Fojt <df@neosystem.org>
Tue, 16 Jun 2020 17:05:40 +0000 (19:05 +0200)
committerDaniel Fojt <df@neosystem.org>
Tue, 16 Jun 2020 17:05:40 +0000 (19:05 +0200)
commit81002e79937bb55687c3e60fc4f07b4b0c83da4a
treee0c2b8f399e40725caa69a2d46945582bb0afb0e
parent9f86c598efab81d1af92ee9a05c182532b581052
etc/periodic: fix off-by-one error in 220.snapshot-hammer2

Increase $_keep before passing it to tail(1) as the output from
tail -n+N starts at N-th line of its input which is the last
snapshot to be kept actually.
etc/periodic/daily/220.snapshot-hammer2