summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-21 16:55:56 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-21 16:55:56 +0200
commit77e63fafa5736c235920b8deef73afbf733a7fda (patch)
tree83d84c6f318b037037256c11210dd21af816f62e /src/nspawn/nspawn.c
parentd40361453be0525a0455d549b2b863931b069358 (diff)
nspawn: document why we don't check resolv.conf mount errors
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index d181e3b338..959df4e0d8 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -404,6 +404,8 @@ static int setup_resolv_conf(const char *dest) {
if (!where)
return log_oom();
+ /* We don't really care for the results of this really. If it
+ * fails, it fails, but meh... */
if (mount("/etc/resolv.conf", where, "bind", MS_BIND, NULL) >= 0)
mount("/etc/resolv.conf", where, "bind", MS_BIND|MS_REMOUNT|MS_RDONLY, NULL);