From 931e30dd34a8bd9b77e89dbdeb1ba5b034e8dc3b Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Mon, 16 Nov 2015 09:34:41 -0500 Subject: [PATCH] Better warning with pauseScript --- lib/sharedFunctions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sharedFunctions.sh b/lib/sharedFunctions.sh index d9d3e82..b1f96a6 100755 --- a/lib/sharedFunctions.sh +++ b/lib/sharedFunctions.sh @@ -378,6 +378,9 @@ function pauseScript() { seek_confirmation "Ready to continue?" if is_confirmed; then info "Continuing" + else + warning "Exiting Script." + safeExit fi }