mirror of
https://github.com/tmux/tmux.git
synced 2025-09-10 13:28:20 +00:00
The client can be NULL, fixes -v in config file.
This commit is contained in:
@@ -202,7 +202,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item)
|
||||
cdata->flags |= CMD_PARSE_QUIET;
|
||||
if (args_has(args, 'n'))
|
||||
cdata->flags |= CMD_PARSE_PARSEONLY;
|
||||
if (args_has(args, 'v') && (~c->flags & CLIENT_CONTROL))
|
||||
if (args_has(args, 'v') && (c == NULL || ~c->flags & CLIENT_CONTROL))
|
||||
cdata->flags |= CMD_PARSE_VERBOSE;
|
||||
|
||||
cwd = cmd_source_file_quote_for_glob(server_client_get_cwd(c, NULL));
|
||||
|
Reference in New Issue
Block a user