From 4fd756a55c816270405dea776d6d40d2faa5a5c7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 24 Jul 2016 19:39:55 -0400 Subject: [PATCH] Adjusted the info mesage after updating cron settings. --- src/talking-clock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index 12c2296..d799e68 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -210,7 +210,8 @@ if [ "$1" == "--cron" ] ; then fi crontabFile="$(mktemp)" 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 echo "talking-clock settings unchanged." rm "$crontabFile"