aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2007-10-12 17:14:34 +0000
committerintrigeri <intrigeri@boum.org>2007-10-12 17:14:34 +0000
commita906ba01c74b53036444e404fccb356bfb73850e (patch)
treebeb1b9f14f4e456d4c2b1d410bdd864a6632aee3
parent579ea902ba24854b3c9acb307cda7e996e8e41a3 (diff)
downloadbackupninja-a906ba01c74b53036444e404fccb356bfb73850e.tar.gz
backupninja-a906ba01c74b53036444e404fccb356bfb73850e.tar.bz2
fixed Trac#11
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/backupninja.in2
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 50e4760..62df6f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
version 0.9.5 -- unreleased
ninjareport
. Added first draft of method to aggregate reports from many servers into
- one email. Requires logtail, rsync, configuration of reporthost,
+ one email. Requires logtail, rsync, configuration of reporthost,
reportdirectory and reportuser in backupninja.conf. Configure cron to
run once a day, and individual backupninjas not to report by email their
status, then enjoy one email report from all hosts, rather than multiple
@@ -9,7 +9,9 @@ version 0.9.5 -- unreleased
. Fixed checks on configuration files permissions, since the patch
applied to fix #370396 broke this, especially for configuration files
created with permissions 000 by an older ninjahelper version.
- . Enhanced portability for other platforms
+ . Enhanced portability for other platforms
+ . Fixed Trac#11 (quoting needed to prevent shell expansion, broke the
+ toint function sometimes)
handler changes
ldap:
. Fixed shell command quoting issues, missing 'then' clauses, cleaned up
diff --git a/src/backupninja.in b/src/backupninja.in
index ef959f2..0cd186a 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -178,7 +178,7 @@ function tolower() {
# simple to integer function
function toint() {
- echo "$1" | tr -d [:alpha:]
+ echo "$1" | tr -d '[:alpha:]'
}
#