diff --git a/ChangeLog b/ChangeLog
index 50e47606e7943eef7802edada56253d272f8ef4c..62df6f862fcf6578b5c753c8e6d0c62a4ebbea1f 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 ef959f2c6c7dc2eede15c5a27584aa2fd4add1ad..0cd186ac6213823115789363374205ad409254ea 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:]'
 }
 
 #