aboutsummaryrefslogtreecommitdiff
path: root/handlers/rub
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2007-06-19 10:00:30 +0000
committerintrigeri <intrigeri@boum.org>2007-06-19 10:00:30 +0000
commitb6c7437f4b78b7b406d22629b95ccc7d111184d9 (patch)
treee39a790c55c5f3e9a188bfb09e938eaacd515a2b /handlers/rub
parentffac2e56a562a38bd5e9b3cdc807a687c5cb1cf4 (diff)
downloadbackupninja-b6c7437f4b78b7b406d22629b95ccc7d111184d9.tar.gz
backupninja-b6c7437f4b78b7b406d22629b95ccc7d111184d9.tar.bz2
rub: Fixed integer comparison (Closes: Trac#3)
Diffstat (limited to 'handlers/rub')
-rw-r--r--handlers/rub2
1 files changed, 1 insertions, 1 deletions
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