From 343c44b09a584d96c26e45a4199f7e7dbeac2a69 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 28 May 2020 11:43:24 -0500 Subject: [PATCH] Exit on failed frequency input --- gravity-sync.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gravity-sync.sh b/gravity-sync.sh index b01e102..fff7358 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -646,6 +646,7 @@ function task_automate { else MESSAGE="Invalid Input" echo -e "${FAIL} ${MESSAGE}" + exit_nochange fi MESSAGE="Saving to Crontab"