mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-21 12:03:31 +03:00
main: remove O_EXCL
for wd-file since creation is now managed by wrapper
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
a3ce493ae2
commit
d081bc68aa
@ -509,8 +509,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
int last_wd_fd;
|
||||
|
||||
last_wd_fd = open (mc_args__last_wd_file, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL,
|
||||
S_IRUSR | S_IWUSR);
|
||||
last_wd_fd = open (mc_args__last_wd_file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
||||
if (last_wd_fd != -1)
|
||||
{
|
||||
ssize_t ret1;
|
||||
|
Loading…
Reference in New Issue
Block a user