From f877daff4c14c12d44baca7c0abe84ffc424057f Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Tue, 21 Jul 2015 00:43:03 +0200 Subject: [PATCH] added verbose mode info message --- backmeupscotty | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backmeupscotty b/backmeupscotty index dd14711..1df23cd 100644 --- a/backmeupscotty +++ b/backmeupscotty @@ -27,7 +27,10 @@ function scottyinfo { function scottyerror { scottyline $@ >&2 - _ERROR_ENCOUNTERED=1 + if [ $_ERROR_ENCOUNTERED -eq 0 ]; then + _ERROR_ENCOUNTERED=1 + scottyline "Going into verbose mode after error encounter." >&2 + fi } function ssh255 { -- 2.39.5