summaryrefslogtreecommitdiff
path: root/src/shared/copy.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-12 03:50:59 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-12 13:35:32 +0100
commitec16945ebfe64d5cd5403ae1a1b16bc05a779a16 (patch)
tree7e842851cfc82b9a0ce7db7a16562f17508f8d64 /src/shared/copy.c
parent0254b455e9730691e9f90d53afe860a0f3229f6d (diff)
nspawn: beef up nspawn with some btrfs magic
This adds --template= to duplicate an OS tree as btrfs snpashot and run it This also adds --ephemeral or -x to create a snapshot of an OS tree and boot that, removing it after exit.
Diffstat (limited to 'src/shared/copy.c')
-rw-r--r--src/shared/copy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/copy.c b/src/shared/copy.c
index 4c41f2fdd4..233dbbccc7 100644
--- a/src/shared/copy.c
+++ b/src/shared/copy.c
@@ -82,7 +82,6 @@ int copy_bytes(int fdf, int fdt, off_t max_bytes) {
r = loop_write(fdt, buf, (size_t) n, false);
if (r < 0)
return r;
-
}
next: