Added "Error: " prefix in _exit_err()
All stdout generated with the _exit_err() function gets a prefix: "Error: " for better usability.
This commit is contained in:
parent
e2ca223432
commit
977c7e9c1f
1 changed files with 1 additions and 1 deletions
2
ccollect
2
ccollect
|
@ -78,7 +78,7 @@ _techo()
|
||||||
# exit on error
|
# exit on error
|
||||||
_exit_err()
|
_exit_err()
|
||||||
{
|
{
|
||||||
_techo "$@"
|
_techo "Error: $@"
|
||||||
rm -f "${TMP}"
|
rm -f "${TMP}"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue