From f2068bcce01db31cdc9422f44185f3b49c04d2ce Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jan 2015 19:15:49 +0100 Subject: machined: when cloning a raw disk image, also set the NOCOW flag --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systemctl') diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 74528dd5b..312142827 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -5669,7 +5669,7 @@ static int create_edit_temp_file(const char *new_path, const char *original_path return r; } - r = copy_file(original_path, t, 0, 0644); + r = copy_file(original_path, t, 0, 0644, 0); if (r == -ENOENT) { r = touch(t); if (r < 0) { -- cgit v1.2.3