From: Micah Anderson Date: Fri, 16 Dec 2005 16:15:13 +0000 (+0000) Subject: Fixed broken toint function, causes backups to not run from cron X-Git-Tag: backupninja-0.9.2~40 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c26bd0e12d52504f0ac10e8e61f9316a900374eb;p=matthijs%2Fupstream%2Fbackupninja.git Fixed broken toint function, causes backups to not run from cron when told to run "everyday" (debian bug: #341881) --- diff --git a/src/backupninja.in b/src/backupninja.in index 68c7c43..249a748 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -148,7 +148,7 @@ function tolower() { # simple to integer function function toint() { - echo "$1" | tr [:alpha:] -d + echo "$1" | tr -d [:alpha:] } #