trace_matches: fix return value bug
[ust.git] / tests / trace_matches
index c2135c1801a5886bdc34308b0a6a456972f5a36b..ef259bebded2992b23029d55c731dce47541878a 100755 (executable)
@@ -50,6 +50,7 @@ if [ -z "$expected_count" ]; then
        if [ "$cnt" -eq "0" ]; then
                echo "ERROR"
                echo "Did not find at least one instance of this event ($cnt)"
+               exit 1
        else
                echo "Success"
                exit 0
This page took 0.021856 seconds and 4 git commands to generate.