From: intrigeri Date: Fri, 12 Oct 2007 17:14:34 +0000 (+0000) Subject: fixed Trac#11 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=867f8614da4ac8fed4fe7630fa8c17a491ece7c5;p=matthijs%2Fupstream%2Fbackupninja.git fixed Trac#11 git-svn-id: http://code.autistici.org/svn/backupninja/trunk@479 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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:]' } #