summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index e60166cc..ba236e65 100644
--- a/parser.c
+++ b/parser.c
@@ -1040,6 +1040,9 @@ static void load_rcfile(val home, val pexist_s, val psafe_s, val ppriv_s)
if2(funcall1(pexist_s, try2), try2));
val resolved_name = name;
+ if (!name)
+ return;
+
if (!funcall1(psafe_s, name)) {
report_path_perm_problem(name);
return;