Merge branch 'obsd-master'

pull/865/head
Thomas Adam 2017-04-19 20:01:11 +01:00
commit 3385159c94
1 changed files with 1 additions and 1 deletions

View File

@ -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) {