From 2fdda58490659a0f924c95e4c325b8fd2fcecad0 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Tue, 7 Feb 2017 17:57:55 +0200 Subject: fix error handeling Signed-off-by: Hanoh Haim --- scripts/t-rex-64 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/t-rex-64') diff --git a/scripts/t-rex-64 b/scripts/t-rex-64 index 9ad96127..208f2029 100755 --- a/scripts/t-rex-64 +++ b/scripts/t-rex-64 @@ -9,7 +9,8 @@ EXTRA_INPUT_ARGS="" ./trex-cfg $INPUT_ARGS RESULT=$? -if [ $RESULT -lt 0 ]; then +if [ $RESULT -eq 255 ]; then + echo "ERROR encountered while configuring trex system" exit $RESULT fi -- cgit 1.2.3-korg