summaryrefslogtreecommitdiff
path: root/src/config/tipidee-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/tipidee-config.c')
-rw-r--r--src/config/tipidee-config.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/config/tipidee-config.c b/src/config/tipidee-config.c
index be13e39..36b1c03 100644
--- a/src/config/tipidee-config.c
+++ b/src/config/tipidee-config.c
@@ -52,11 +52,6 @@ static inline void conf_output (char const *ofile, unsigned int omode)
memcpy(otmp + olen, ":XXXXXX", 8) ;
fdw = mkstemp(otmp) ;
if (fdw == -1) strerr_diefu3sys(111, "open ", otmp, " for writing") ;
- if (coe(fdw) == -1)
- {
- unlink_void(otmp) ;
- strerr_diefu2sys(111, "coe ", otmp) ;
- }
if (!cdbmake_start(&cm, fdw))
{
unlink_void(otmp) ;
@@ -77,7 +72,7 @@ static inline void conf_output (char const *ofile, unsigned int omode)
unlink_void(otmp) ;
strerr_diefu2sys(111, "fsync ", otmp) ;
}
- if (fchmod(fdw, omode & 0755) == -1)
+ if (fchmod(fdw, omode & 0777) == -1)
{
unlink_void(otmp) ;
strerr_diefu2sys(111, "fchmod ", otmp) ;