diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-18 17:45:21 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-19 11:18:47 +0200 |
commit | 574a27dd5f354499e0ee41afbefa447f2298ed86 (patch) | |
tree | 49a9b10e361b9c29ac3a48e8e602fd97b0f2124a /scripts/libptxdist.sh | |
parent | 36f3b4988245757558a1bfb13159100864f45a36 (diff) | |
download | ptxdist-574a27dd5f354499e0ee41afbefa447f2298ed86.tar.gz ptxdist-574a27dd5f354499e0ee41afbefa447f2298ed86.tar.xz |
ptxd_bailout: add empty lines to make error messages more visible
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/libptxdist.sh')
-rw-r--r-- | scripts/libptxdist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh index 820a02298..6ece4ab48 100644 --- a/scripts/libptxdist.sh +++ b/scripts/libptxdist.sh @@ -749,9 +749,9 @@ ptxd_debug "Debugging is enabled - Turn off with PTX_DEBUG=false" # ${PTXDIST_LOG_PROMPT}: to be printed before message # ptxd_bailout() { - echo "${PTXDIST_LOG_PROMPT}error: $1" >&2 + echo -e "\n${PTXDIST_LOG_PROMPT}error: $1\n" >&2 if [ -n "${PTXDIST_FD_STDERR}" -a -n "${PTXDIST_QUIET}" ]; then - echo "${PTXDIST_LOG_PROMPT}error: $1" >&${PTXDIST_FD_STDERR} + echo -e "\n${PTXDIST_LOG_PROMPT}error: $1\n" >&${PTXDIST_FD_STDERR} fi exit ${2:-1} } |