diff --git a/ChangeLog b/ChangeLog index 6ad819e60c21f75689fa12941198e65f2455ed19..1bcac309207fbf73bebc9c99b477096a82f03ae9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,7 @@ version 0.9.5 -- unreleased . Fixed typo in rub handler that caused it to not work . Changed to use lib/vserver code . Fixed fsck error + . Fixed integer comparison (Closes: Trac#3) sys: . Fixed typo breaking things for VServers. . Fix bug when vrootdir is on its own partition (Closes: #395928) diff --git a/handlers/rub b/handlers/rub index e05b6fd129c99c5b39c12e497397e0567233b840..bdd6e99d3f8cf343e49926215b2e8cf693ab5569 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