aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-12-16 16:15:13 +0000
committerMicah Anderson <micah@riseup.net>2005-12-16 16:15:13 +0000
commitc26bd0e12d52504f0ac10e8e61f9316a900374eb (patch)
treebd6f1eab60da461398afa835693d8ae56df5cab4 /src/backupninja.in
parent921babdf413f370acccc5e125a2c37fbdd18afd3 (diff)
downloadbackupninja-c26bd0e12d52504f0ac10e8e61f9316a900374eb.tar.gz
backupninja-c26bd0e12d52504f0ac10e8e61f9316a900374eb.tar.bz2
Fixed broken toint function, causes backups to not run from cron
when told to run "everyday" (debian bug: #341881)
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-xsrc/backupninja.in2
1 files changed, 1 insertions, 1 deletions
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:]
}
#