Print additional infos about errors to std_out.

This commit is contained in:
2019-06-09 17:08:15 +02:00
parent 7013d8644f
commit ef5848f4ea
8 changed files with 105 additions and 14 deletions

View File

@ -41,6 +41,12 @@ echononl(){
fi
rm /tmp/shprompt$$
}
print_error_stdout() {
echo -e -n "\n Host: ${srcHost}\n Error: $*" 1>&2
echo ""
}
#
#
fatal(){