chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
machined: when cloning a raw disk image, also set the NOCOW flag
[elogind.git]
/
src
/
systemctl
/
systemctl.c
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index 74528dd5b6cbbefae35d610b0af78c745ab76085..312142827433575203577d477d4855d12df24d44 100644
(file)
--- 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) {