Skip to content

Commit

Permalink
Fix exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Sep 6, 2024
1 parent 21106e0 commit 80046c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/inplace-testing/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ PORT=12346
edb server -D "$DIR" -P $PORT &
SPID=$!
cleanup() {
kill $SPID
if [ -n "$SPID" ]; then
kill $SPID
fi
}
trap cleanup EXIT

Expand Down

0 comments on commit 80046c9

Please sign in to comment.