X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Frub;h=bdd6e99d3f8cf343e49926215b2e8cf693ab5569;hp=e05b6fd129c99c5b39c12e497397e0567233b840;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=95ea71bfd169e3e84fdbd53c14ad6152b2895d3f diff --git a/handlers/rub b/handlers/rub index e05b6fd..bdd6e99 100644 --- a/handlers/rub +++ b/handlers/rub @@ -100,7 +100,7 @@ getconf service function rotate { - if [[ "$2" < 4 ]]; then + if [[ "$2" -lt 4 ]]; then error "Rotate: minimum of 4 rotations" exit 1 fi