Skip to content

Commit f2a6b0c

Browse files
Fix parsing bug where includes are skipped (#686)
1 parent dec79ed commit f2a6b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/terminal/ParseConfigFile.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ static int ssh_config_parse_line(const char *targethost,
12451245
case SOC_INCLUDE: /* recursive include of other files */
12461246

12471247
p = ssh_config_get_str_tok(&s, NULL);
1248-
if (p && *parsing) {
1248+
if (p) {
12491249
char *filename = ssh_path_expand_tilde(p);
12501250
if (filename) {
12511251
local_parse_file(targethost, options, filename, parsing, seen);

0 commit comments

Comments
 (0)