summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fset/fset-option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index b8f276555..2ef8c219d 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -1408,7 +1408,7 @@ fset_option_export (const char *filename, int with_help)
return 0;
}
- chmod (filename2, 0600);
+ fchmod (fileno (file), 0600);
hashtable_pointers = weechat_hashtable_new (
8,