From: intrigeri Date: Tue, 19 Jun 2007 10:00:30 +0000 (+0000) Subject: rub: Fixed integer comparison (Closes: Trac#3) X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=fc183f265fb71bde510790e7d19a59df6f38d74d;p=matthijs%2Fupstream%2Fbackupninja.git rub: Fixed integer comparison (Closes: Trac#3) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@473 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index 6ad819e..1bcac30 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 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