From 7f735dbe7544bf2837b1fa5fac38d3f001a8bb99 Mon Sep 17 00:00:00 2001 From: Ze Libertine Gamer Date: Mon, 24 Oct 2016 07:07:11 -0700 Subject: Correct run_again, add recursion Loops and functions -- oh my, what a useful combination. :) --- scripts/updater.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/updater.sh b/scripts/updater.sh index 8376b34..4197246 100755 --- a/scripts/updater.sh +++ b/scripts/updater.sh @@ -72,6 +72,10 @@ run_again() { n|no) exit ;; + *) + echo "Invalid. Try [y]es or [n]o." + run_again + ;; esac } -- cgit v1.2.3-54-g00ecf