mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Ignore ``#'' properly when told to
This commit is contained in:
parent
59038c5722
commit
2661ef38a2
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags)
|
|||
nargs = 0;
|
||||
while (*script) {
|
||||
script += strspn(script, " \t");
|
||||
if (*script == '#' && flags & PARSE_NOHASH) {
|
||||
if (*script == '#' && !(flags & PARSE_NOHASH)) {
|
||||
*script = '\0';
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue