Adjusted the info mesage after updating cron settings.

This commit is contained in:
Storm Dragon 2016-07-24 19:39:55 -04:00
parent d3e422aa48
commit 4fd756a55c

View File

@ -210,7 +210,8 @@ if [ "$1" == "--cron" ] ; then
fi fi
crontabFile="$(mktemp)" crontabFile="$(mktemp)"
crontab -l > "$crontabFile" crontab -l > "$crontabFile"
read -n1 -p "You are about to modify talking-clock settings. Are you sure you want to do this? (Only y or Y confirms, anything else cancels) ", answer read -n1 -p "You are about to modify talking-clock settings. Are you sure you want to do this? (Only y or Y confirms, anything else cancels) " answer
echo
if [ "${answer^}" != "Y" ]; then if [ "${answer^}" != "Y" ]; then
echo "talking-clock settings unchanged." echo "talking-clock settings unchanged."
rm "$crontabFile" rm "$crontabFile"