Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Feb 21, 2025
1 parent c2de47e commit 0cf6d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/linera_net_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# - Then executes the bash command recorded from stdout
# - Returns without killing the process
function linera_spawn_and_read_wallet_variables() {
export LINERA_TMP_DIR=$(mktemp -d) || exit 1
LINERA_TMP_DIR=$(mktemp -d) || exit 1

# When the shell exits, we will clean up the top-level jobs (if any), the temporary
# directory, and the main process. Handling future top-level jobs here is useful
Expand Down Expand Up @@ -36,7 +36,7 @@ function linera_spawn_and_read_wallet_variables() {
# - Waits for the background process to print READY! on stderr
# - Returns without killing the process
function linera_spawn() {
export LINERA_TMP_DIR=$(mktemp -d) || exit 1
LINERA_TMP_DIR=$(mktemp -d) || exit 1

trap 'jobs -p | xargs -r kill; rm -rf "$LINERA_TMP_DIR"' EXIT

Expand Down

0 comments on commit 0cf6d1f

Please sign in to comment.