]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/load-fragment.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / core / load-fragment.c
index 0299fe76036b3edac4df2dcc3d4533e1c359bc44..b695c57da8e441acaf315e61e469e99d4a7e52dd 100644 (file)
@@ -3568,12 +3568,11 @@ int unit_load_fragment(Unit *u) {
                 if (r < 0)
                         return r;
 
-                if (u->load_state == UNIT_STUB) {
+                if (u->load_state == UNIT_STUB)
                         /* Hmm, this didn't work? Then let's get rid
                          * of the fragment path stored for us, so that
                          * we don't point to an invalid location. */
                         u->fragment_path = mfree(u->fragment_path);
-                }
         }
 
         /* Look for a template */