Skip to content

Commit 0b61af1

Browse files
committed
lib.sh: add missing quotes for $ipc_type
Fixes commit dab6da8 ("lib.sh: disable sof-logger when running IPC4 mode (#884)") Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 407ae5b commit 0b61af1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

case-lib/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ ipc4_used()
474474
# If the value of file ipc_type is:
475475
# 0: DUT runs IPC3 mode, ipc_used return 1(false)
476476
# 1: DUT runs IPC4 mode, ipc4_used return 0(true)
477-
[ $ipc_type -eq 1 ] || {
477+
[ "$ipc_type" -eq 1 ] || {
478478
return 1
479479
}
480480
return 0

0 commit comments

Comments
 (0)