summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 2b065e3..f547a38 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -736,6 +736,7 @@ cmd_source (int interactive, char *data)
marked_message_printf (0, 0, " source: %s : %s ", data, strerror(errno));
else
{
+ set_close_on_exec (fileptr);
read_rc_file (fileptr);
fclose (fileptr);
}