mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 14:13:45 -05:00
Better warning with pauseScript
This commit is contained in:
@@ -378,6 +378,9 @@ function pauseScript() {
|
|||||||
seek_confirmation "Ready to continue?"
|
seek_confirmation "Ready to continue?"
|
||||||
if is_confirmed; then
|
if is_confirmed; then
|
||||||
info "Continuing"
|
info "Continuing"
|
||||||
|
else
|
||||||
|
warning "Exiting Script."
|
||||||
|
safeExit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user