summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-04-12 12:18:19 +0200
committerFranck Bui <fbui@suse.com>2018-04-24 11:57:48 +0200
commit7b887f2284e2ada3e95494d5972d2f64f27fe81b (patch)
tree5e7eec0eba5bcd0948c337ccb7f61fbe94b030e0 /src/tmpfiles/tmpfiles.c
parent33ce73f66c9e35b16624db17079cb76e25b2c846 (diff)
downloadsystemd-7b887f2284e2ada3e95494d5972d2f64f27fe81b.tar.gz
tmpfiles: remove spurious curly braces in create_item()
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 9862e3402c..5755f22160 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -1451,8 +1451,7 @@ static int create_item(Item *i) {
return r;
break;
- case COPY_FILES: {
-
+ case COPY_FILES:
RUN_WITH_UMASK(0000)
(void) mkdir_parents_label(i->path, 0755);
@@ -1625,7 +1624,6 @@ static int create_item(Item *i) {
return r;
break;
- }
case CREATE_SYMLINK: {
RUN_WITH_UMASK(0000)