diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-30 18:25:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-30 18:25:08 +0200 |
commit | eb4a3e95cd02f940c9c794aea89e1e1a12588981 (patch) | |
tree | c0378c0bb68880d31ff62027c50a0a832eb0b14f /solenv | |
parent | 62df5aabcdb3dc99ada137a5fa06707ec671d1fe (diff) |
Better Shell error messages in case argument is missing
...like before 62df5aabcdb3dc99ada137a5fa06707ec671d1fe "gdb-core-bt.sh expects
three arguments now"
Change-Id: I0e75813e36278e53db3fa13a60a58a84e90d7538
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/gdb-core-bt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/gdb-core-bt.sh b/solenv/bin/gdb-core-bt.sh index 69ce22b6f543..0d21dda88ccf 100755 --- a/solenv/bin/gdb-core-bt.sh +++ b/solenv/bin/gdb-core-bt.sh @@ -27,7 +27,7 @@ then rm "$GDBCOMMANDFILE" echo exit 0 - elif [ $EXITCODE -ge 128 ]; then + elif [ "$EXITCODE" -ge 128 ]; then echo echo "No core file identified in directory ${COREDIR}" echo "To show backtraces for crashes during test execution," |