From c26bd0e12d52504f0ac10e8e61f9316a900374eb Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Fri, 16 Dec 2005 16:15:13 +0000 Subject: Fixed broken toint function, causes backups to not run from cron when told to run "everyday" (debian bug: #341881) --- src/backupninja.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:] } # -- cgit v1.2.3