chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: bind mount /etc/localtime
[elogind.git]
/
src
/
util.c
diff --git
a/src/util.c
b/src/util.c
index eefd66e8cdb4b5e630213d5b4bd5b46365ae4457..c9c88927b0634c20eb5e4beee8d519cd3f03aaf1 100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-3524,7
+3524,7
@@
int touch(const char *path) {
assert(path);
assert(path);
- if ((fd = open(path, O_WRONLY|O_CREAT|O_CLOEXEC|O_NOCTTY, 06
66
)) < 0)
+ if ((fd = open(path, O_WRONLY|O_CREAT|O_CLOEXEC|O_NOCTTY, 06
44
)) < 0)
return -errno;
close_nointr_nofail(fd);
return -errno;
close_nointr_nofail(fd);