diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-18 09:44:23 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-18 09:44:23 +0100 |
commit | d807ba646948eb178ee92c684578dd96e94873fd (patch) | |
tree | f3354adeb47c824b34ad7d27d61f654ff4a94520 | |
parent | 7e421156c08d73c638428b3db79eb3063e53ca8f (diff) |
Call wordexp() with WRDE_NOCMD
-rw-r--r-- | cbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -781,7 +781,7 @@ pcquery(struct strv *vec, char *lib, int flags) /* Remove trailing newline */ p[n - 1] = 0; - switch (wordexp(p, &we, 0)) { + switch (wordexp(p, &we, WRDE_NOCMD)) { case WRDE_BADCHAR: case WRDE_BADVAL: case WRDE_SYNTAX: |