On Wed, Apr 19, 2017 at 12:58 PM Nicholas Marriott <
[email protected]> wrote:
> Yes, this is a bug, well spotted!
>
> This is the fix:
>
> diff --git a/cmd-source-file.c b/cmd-source-file.c
> index db6b4ca..e96af5f 100644
> --- a/cmd-source-file.c
> +++ b/cmd-source-file.c
> @@ -78,7 +78,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item
> *item)
> free(pattern);
>
> for (i = 0; i < (u_int)g.gl_pathc; i++) {
> - if (load_cfg(g.gl_pathv[i], c, item, quiet) != 0)
> + if (load_cfg(g.gl_pathv[i], c, item, quiet) < 0)
> retval = CMD_RETURN_ERROR;
> }
> if (cfg_finished) {
>
That fix works. Thanks.
--
Kaushal Modi
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.