Skip to content

Commit 6fae196

Browse files
committed
fix multi-spaces in --coverage-cmd, fixes mrash#37
1 parent 70401e5 commit 6fae196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

afl-cov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ def is_gcov_enabled(cargs):
902902
found_code_cov_binary = False
903903

904904
for part in cargs.coverage_cmd.split(' '):
905-
if part[0] == ' ' or part[0] == '-':
905+
if not part or part[0] == ' ' or part[0] == '-':
906906
continue
907907
if (which(part)):
908908
found_exec = True

0 commit comments

Comments
 (0)