Skip to content

Commit

Permalink
Merge pull request #4 from psycholance/fix-slashes
Browse files Browse the repository at this point in the history
fix slash parsing
  • Loading branch information
kaniini authored Mar 3, 2022
2 parents 3061277 + 3b955d4 commit d2edbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envsubst.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ process_input(FILE *stream)
switch (*p)
{
case '$': {
char *end_p = strpbrk(p, " \t\r\n");
char *end_p = strpbrk(p, " /\t\r\n");
char ospace = *end_p;
*end_p = '\0';

Expand Down

0 comments on commit d2edbca

Please sign in to comment.