mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxd_source_kconfig: dont't suppress errors
@ 2019-05-15 17:41 Christian Hermann
  0 siblings, 0 replies; only message in thread
From: Christian Hermann @ 2019-05-15 17:41 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-15 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 17:41 [ptxdist] [PATCH] ptxd_source_kconfig: dont't suppress errors Christian Hermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox