minor changes

This commit is contained in:
snaki 2022-07-12 14:50:32 +02:00
parent b91ef3583c
commit c4464c6fd9

4
btrbk
View file

@ -178,9 +178,9 @@ function testConf {
function testDate { function testDate {
if [ "$BKCYCLE" = "weekly" ]; then if [ "$BKCYCLE" = "weekly" ]; then
local dateType = "+%u" local dateType="+%u"
elif [ "$BKCYCLE" = "monthly" ]; then elif [ "$BKCYCLE" = "monthly" ]; then
local dateType = "+%-d" local dateType="+%-d"
else else
echo "BKCYCLE not correctly configured" echo "BKCYCLE not correctly configured"
exit 1 exit 1