From: Christian Hermann <christian.hermann@hytera.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ptxd_source_kconfig: dont't suppress errors
Date: Wed, 15 May 2019 19:41:10 +0200 [thread overview]
Message-ID: <20190515174110.3886-1-christian.hermann@hytera.de> (raw)
In case of any issue with `selcted_*` (non-exising for example),
it failed (silently at the bottom of ./ptxdist) showing only
> PTXdist: fatal error ... cannot start, sorry!
which isn't helpful, so let's see the real error as well.
Signed-off-by: Christian Hermann <christian.hermann@hytera.de>
---
scripts/libptxdist.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh
index 17441e9db..d0ae4d188 100644
--- a/scripts/libptxdist.sh
+++ b/scripts/libptxdist.sh
@@ -102,7 +102,7 @@ ptxd_source_kconfig() {
local ret
set -a
- source "${1}" 2> /dev/null
+ source "${1}"
ret=$?
set +a
--
2.21.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2019-05-15 17:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190515174110.3886-1-christian.hermann@hytera.de \
--to=christian.hermann@hytera.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox