mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
script: Do not start emulator if running
This commit is contained in:
parent
1f2e5e2a91
commit
becb31c4fc
@ -10,7 +10,7 @@ cd "$(dirname "$0")/.."
|
|||||||
trap "exit" INT TERM
|
trap "exit" INT TERM
|
||||||
trap "kill 0" EXIT
|
trap "kill 0" EXIT
|
||||||
|
|
||||||
if [ "$EMULATOR" = 1 ]; then
|
if [ "$EMULATOR" = 1 ] && [ -z "$(pidof trezor.elf)" ]; then
|
||||||
firmware/trezor.elf &
|
firmware/trezor.elf &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user