mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-13 22:32:29 +01:00
Fixed broken toint function, causes backups to not run from cron
when told to run "everyday" (debian bug: #341881)
This commit is contained in:
parent
921babdf41
commit
c26bd0e12d
@ -148,7 +148,7 @@ function tolower() {
|
|||||||
|
|
||||||
# simple to integer function
|
# simple to integer function
|
||||||
function toint() {
|
function toint() {
|
||||||
echo "$1" | tr [:alpha:] -d
|
echo "$1" | tr -d [:alpha:]
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user