From becb31c4fc09c5ed8dcb1f1f8f642dde33c39613 Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Sun, 17 Dec 2017 18:26:00 +0000 Subject: [PATCH] script: Do not start emulator if running --- script/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/test b/script/test index 0c8e68d2b5..9306b7d082 100755 --- a/script/test +++ b/script/test @@ -10,7 +10,7 @@ cd "$(dirname "$0")/.." trap "exit" INT TERM trap "kill 0" EXIT -if [ "$EMULATOR" = 1 ]; then +if [ "$EMULATOR" = 1 ] && [ -z "$(pidof trezor.elf)" ]; then firmware/trezor.elf & fi