diff --git a/src/backupninja.in b/src/backupninja.in index ef8fc2d51a8fff6e32d02f2bfe66ad46f00a4345..77afbfdfacf856369a38f20522c5e69e56459fe6 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."