Skip to content

Commit 2cd5085

Browse files
committed
sof-logger: fix "unary operator expected"
Fix for: ``` /home/ubuntu/sof-test/test-case/../case-lib/lib.sh: line 955: [: -eq: unary operator expected ``` Signed-off-by: Artur Wilczak <arturx.wilczak@intel.com>
1 parent 77dd64c commit 2cd5085

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
@@ -952,7 +952,7 @@ is_ipc4()
952952
logger_disabled()
953953
{
954954
# Disable logging when available...
955-
if [ ${OPT_VAL['s']} -eq 0 ]; then
955+
if [[ ${OPT_VAL['s']} -eq 0 ]]; then
956956
return 0
957957
fi
958958

0 commit comments

Comments
 (0)