diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-12-21 18:01:24 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-12-21 18:01:24 +0000 |
commit | a6b1cbba02e05b1644bede7de0fde9877d67b81a (patch) | |
tree | e97953176247217518c44c83947bd13090c94af5 | |
parent | 745233d6a1ccb548a9807993ee4330baadec46bb (diff) | |
parent | 5cd00eda0b7f1775bd3c8ce9497c72ddfada9592 (diff) | |
download | rtmux-a6b1cbba02e05b1644bede7de0fde9877d67b81a.tar.gz rtmux-a6b1cbba02e05b1644bede7de0fde9877d67b81a.tar.bz2 rtmux-a6b1cbba02e05b1644bede7de0fde9877d67b81a.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-source-file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c index dfe4a6aa..afe45a54 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -124,7 +124,6 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; struct cmd_source_file_data *cdata; - int flags = 0; struct client *c = item->client; enum cmd_retval retval = CMD_RETURN_NORMAL; char *pattern, *cwd; @@ -160,7 +159,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) if ((result = glob(pattern, 0, NULL, &g)) != 0) { if (result != GLOB_NOMATCH || - (~flags & CMD_PARSE_QUIET)) { + (~cdata->flags & CMD_PARSE_QUIET)) { if (result == GLOB_NOMATCH) error = strerror(ENOENT); else if (result == GLOB_NOSPACE) |