Commit 17629208 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment