diff options
author | Hanoh Haim <hhaim@cisco.com> | 2017-02-07 17:57:55 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2017-02-13 12:32:26 +0200 |
commit | 2fdda58490659a0f924c95e4c325b8fd2fcecad0 (patch) | |
tree | 7e99059a13cf5aa5ba5d8c9aafe6fe2d92bce681 /scripts/t-rex-64 | |
parent | 4ace51417b423c2ca784a96db3d410aa1f4904f8 (diff) |
fix error handeling
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'scripts/t-rex-64')
-rwxr-xr-x | scripts/t-rex-64 | 3 |
1 files changed, 2 insertions, 1 deletions
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 |