Adjusted the info mesage after updating cron settings.
This commit is contained in:
parent
d3e422aa48
commit
4fd756a55c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user