diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index e1f89e6db..7b3970365 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -1715,7 +1715,7 @@ then exit_fail "Reported total amount wrong: $AMOUNT" fi - OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation | head -n1' < test-audit-coins.json` + OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation'< test-audit-coins.json | head -n1` if test "x$OP" != "xdeposit" then exit_fail "Reported wrong operation: $OP"