rcfile: actually don't try to open things that cannot be syntax files

master
Benno Schulenberg 2016-11-26 17:43:36 +01:00
parent 281a56fb74
commit 1762920808
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ static void parse_one_include(char *file)
rcfile_error(S_ISDIR(rcinfo.st_mode) ?
_("\"%s\" is a directory") :
_("\"%s\" is a device file"), file);
return;
}
/* Open the included syntax file. */