backupninja/backupninja-1.1.0-whitespaces.patch

33 lines
1.4 KiB
Diff
Raw Normal View History

2021-09-12 17:16:14 +08:00
From 26521d0975affe45aa944621b6e6f32ee3a8cdde Mon Sep 17 00:00:00 2001
From: Jerome Charaoui <jerome@riseup.net>
Date: Fri, 13 Jul 2018 10:07:10 -0400
Subject: [PATCH] Whitespace fixes
---
src/backupninja.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backupninja.in b/src/backupninja.in
index ef8fc2d..77afbfd 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -234,13 +234,13 @@ function isnow() {
fi
if [[ "$whentimeoriginal" != @([0-9][0-9])?(:[0-9][0-9]) ]]; then
warning "The time in the 'when' option in the configuration is malformed or does not exist. Please read the README for examples."
- fi
+ fi
return 0
fi
fi
elif [ "$whenday" != "$nowday" ]; then
if [ "$whenday" -lt 1 -o "$whenday" -gt 31 ]; then
- warning "The numeric value of the day in the 'when' option in the configuration does not match a day. Please read the README for examples."
+ warning "The numeric value of the day in the 'when' option in the configuration does not match a day. Please read the README for examples."
fi
if [ -z "$whentime" ]; then
warning "The 'when' variable in the configuration file is malformed. You either didn't specify the day or the time. Please read the README for eamples."
--
2.24.1