diff options
author | Christian Hermann <christian.hermann@hytera.de> | 2019-05-15 19:41:10 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-17 16:40:21 +0200 |
commit | 5633496754902a804ace86f1cc918226af4179bb (patch) | |
tree | a6f2ee869d0b9dc051b62974fb84a71061cfb8a3 /scripts/libptxdist.sh | |
parent | 2190e25b542f41de18dbee2823e6faf69051e867 (diff) | |
download | ptxdist-5633496754902a804ace86f1cc918226af4179bb.tar.gz ptxdist-5633496754902a804ace86f1cc918226af4179bb.tar.xz |
ptxd_source_kconfig: dont't suppress errors
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>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/libptxdist.sh')
-rw-r--r-- | scripts/libptxdist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh index 1d21a0adb..8c6fbc073 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 |