rub: Fixed integer comparison (Closes: Trac#3)

This commit is contained in:
intrigeri 2007-06-19 10:00:30 +00:00
parent ffac2e56a5
commit b6c7437f4b
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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