Skip to content

Commit

Permalink
topotato: make start script work with cProfile
Browse files Browse the repository at this point in the history
`cProfile` doesn't like `-mmodule`, wants `-m module` instead.

Signed-off-by: David Lamparter <[email protected]>
  • Loading branch information
eqvinox committed Sep 17, 2024
1 parent 9107a77 commit d50538b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_userns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ "$1" = "ns_inner" ]; then

ip link set lo up

exec ${PYTHON:-python3} -mpytest "$@"
exec ${PYTHON:-python3} -m pytest "$@"
else
exec unshare -U -m -p -n -r -f --mount-proc tini -g "$0" -- ns_inner "$@"
fi

0 comments on commit d50538b

Please sign in to comment.