Skip to content

Commit

Permalink
dist/tools/jlink: fix DBG_PID assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
LP-HAW committed Sep 29, 2023
1 parent 6a826fa commit 25013f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/tools/jlink/jlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ do_debug() {
-port '${GDB_PORT}' \
-telnetport '${TELNET_PORT}'" &
# save PID for terminating the server afterwards
DBG_PID=$?
DBG_PID=$!
# connect to the GDB server
${DBG} -q ${TUI} -ex "tar ext :${GDB_PORT}" ${ELFFILE}
# clean up
Expand Down

0 comments on commit 25013f8

Please sign in to comment.