summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2016-01-13 11:33:57 -0800
committerChad Versace <chad.versace@intel.com>2016-01-13 11:34:39 -0800
commite37221d4f1c132173b5ff5d4977c362dc4d4d355 (patch)
treef1f3aa70005942749d45aa524ed1de19c25486b1
parent0c7e8e2503d4630ad8f1f952c8b552881b31e1bd (diff)
cmd/run: Fix crash in previous commit
Oops. One line fix.
-rw-r--r--src/cmd/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/run.c b/src/cmd/run.c
index 510c555..3f06075 100644
--- a/src/cmd/run.c
+++ b/src/cmd/run.c
@@ -178,7 +178,7 @@ done_getopt:
static bool
one_test(void)
{
- if (test_patterns.len > 1)
+ if (test_patterns.len != 1)
return false;
const char *first_pattern = test_patterns.data[0];