Whitespace fixes

This commit is contained in:
Jerome Charaoui 2018-07-13 10:07:10 -04:00
parent d9ca93ab91
commit 26521d0975

View File

@ -234,13 +234,13 @@ function isnow() {
fi fi
if [[ "$whentimeoriginal" != @([0-9][0-9])?(:[0-9][0-9]) ]]; then 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." 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 return 0
fi fi
fi fi
elif [ "$whenday" != "$nowday" ]; then elif [ "$whenday" != "$nowday" ]; then
if [ "$whenday" -lt 1 -o "$whenday" -gt 31 ]; 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 fi
if [ -z "$whentime" ]; then 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." 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."