X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frub;h=bdd6e99d3f8cf343e49926215b2e8cf693ab5569;hb=be4d10a7b00db3d2e504b4d94f0c15db03480b11;hp=e05b6fd129c99c5b39c12e497397e0567233b840;hpb=d420562172a16ebc2dc6ec4b3081156b69d06086;p=matthijs%2Fupstream%2Fbackupninja-vserver.git 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