Skip to content

Commit 2c839a0

Browse files
lyakhmarc-hb
authored andcommitted
log: don't kill mtrace if we haven't started one
If a '-s 0' flag is used when starting tests to disable firmware logging, the logger shouldn't be killed either. Use a correct test for this. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 65d7174 commit 2c839a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

case-lib/hijack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function func_exit_handler()
9292

9393
fi
9494

95-
if [ "$SOF_LOGGING" != 'none' ] && is_ipc4 && is_firmware_file_zephyr; then
95+
if ! logger_disabled && is_ipc4 && is_firmware_file_zephyr; then
9696
local mtraceBin; mtraceBin=mtrace-reader.py
9797
dlogi "pkill -TERM -f $mtraceBin"
9898
sudo pkill -TERM -f "$mtraceBin" || {

0 commit comments

Comments
 (0)