summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-02 19:40:43 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-02 19:45:12 +0200
commit51045322c4c19638ba5588c722238220d096ca43 (patch)
treeba85bc3913e55440a98f964a88d28950e76a61bd /src/shared/util.h
parent69c2b6be8fc607412a13cd0ea03a629b4965c816 (diff)
nspawn: always copy /etc/resolv.conf rather than bind mount
We were already creating the file if it was missing, and this way containers can reconfigure the file without running into problems. This also makes resolv.conf handling more alike to handling of /etc/localtime, which is also not a bind mount.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 1b845b3803..c2e6a685c8 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -448,7 +448,7 @@ int terminal_vhangup(const char *name);
int vt_disallocate(const char *name);
-int copy_file(const char *from, const char *to);
+int copy_file(const char *from, const char *to, int flags);
int symlink_atomic(const char *from, const char *to);