Skip to content

Commit

Permalink
Fix parsing bug where includes are skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrussoc committed Mar 6, 2025
1 parent bca3f9e commit 4047ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/ParseConfigFile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ static int ssh_config_parse_line(const char *targethost,
case SOC_INCLUDE: /* recursive include of other files */

p = ssh_config_get_str_tok(&s, NULL);
if (p && *parsing) {
if (p) {
char *filename = ssh_path_expand_tilde(p);
if (filename) {
local_parse_file(targethost, options, filename, parsing, seen);
Expand Down

0 comments on commit 4047ffc

Please sign in to comment.