Skip to content

Commit

Permalink
Fix proper variable
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Sep 27, 2024
1 parent 31f2b8b commit 813e06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/microvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ EOF
verbose "Starting microVM '${KRUNVM_RUNNER_NAME}' with entrypoint $KRUNVM_RUNNER_ENTRYPOINT"
optstate=$(set +o)
set -m; # Disable job control
run_krunvm start "$KRUNVM_RUNNER_NAME" "$RUNNER_ENTRYPOINT" -- "$@" </dev/null &
run_krunvm start "$KRUNVM_RUNNER_NAME" "$KRUNVM_RUNNER_ENTRYPOINT" -- "$@" </dev/null &
KRUNVM_RUNNER_PID=$!
eval "$optstate"; # Restore options
printf %d\\n "$KRUNVM_RUNNER_PID" > "${KRUNVM_RUNNER_STORAGE}/${KRUNVM_RUNNER_NAME}.pid"
Expand Down

0 comments on commit 813e06d

Please sign in to comment.