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:
committed by
Sébastien Helleu
parent
63733d81d8
commit
1797fe18a3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user