projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffac2e5
)
rub: Fixed integer comparison (Closes: Trac#3)
author
intrigeri
<intrigeri@boum.org>
Tue, 19 Jun 2007 10:00:30 +0000
(10:00 +0000)
committer
intrigeri
<intrigeri@boum.org>
Tue, 19 Jun 2007 10:00:30 +0000
(10:00 +0000)
ChangeLog
patch
|
blob
|
history
handlers/rub
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 6ad819e60c21f75689fa12941198e65f2455ed19..1bcac309207fbf73bebc9c99b477096a82f03ae9 100644
(file)
--- 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
(file)
--- 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