Skip to content

Commit

Permalink
When the glob bool was true, the pattern was not pushed into patterns kv
Browse files Browse the repository at this point in the history
  • Loading branch information
beorn- committed Feb 21, 2017
1 parent 5259e83 commit ae9fdec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/which.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ exec_which(int argc, char **argv)
retcode = EX_USAGE;
goto cleanup;
}
kv_push(char *, patterns, strdup(pathabs));
}


Expand Down

0 comments on commit ae9fdec

Please sign in to comment.