1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

fset: replace call to chmod() by fchmod() in the export function

This commit is contained in:
Mario Campos
2024-03-13 07:19:55 +01:00
committed by Sébastien Helleu
parent 63733d81d8
commit 1797fe18a3
+1 -1
View File
@@ -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,