From 4d1f5644771c3ec4c84d50e67b57da4cb7b401cd Mon Sep 17 00:00:00 2001 From: micah Date: Fri, 16 Dec 2005 16:15:13 +0000 Subject: [PATCH] Fixed broken toint function, causes backups to not run from cron when told to run "everyday" (debian bug: #341881) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@258 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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:] } # -- 2.30.2