chiark / gitweb /
machined: when cloning a raw disk image, also set the NOCOW flag
[elogind.git] / src / systemctl / systemctl.c
index 74528dd5b6cbbefae35d610b0af78c745ab76085..312142827433575203577d477d4855d12df24d44 100644 (file)
@@ -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) {