]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: break comment blocks according to our current editor settings
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Jan 2019 14:52:31 +0000 (15:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Feb 2019 16:16:54 +0000 (17:16 +0100)
src/tmpfiles/tmpfiles.c

index 50a0243d98c717dd050b83f09bd7f4c93e53205f..4bf148ef3d7018132a202a1f50817cef497e9f5c 100644 (file)
@@ -606,12 +606,10 @@ static int dir_cleanup(
                                         r = q;
                         }
 
-                        /* Note: if you are wondering why we don't
-                         * support the sticky bit for excluding
-                         * directories from cleaning like we do it for
-                         * other file system objects: well, the sticky
-                         * bit already has a meaning for directories,
-                         * so we don't want to overload that. */
+                        /* Note: if you are wondering why we don't support the sticky bit for excluding
+                         * directories from cleaning like we do it for other file system objects: well, the
+                         * sticky bit already has a meaning for directories, so we don't want to overload
+                         * that. */
 
                         if (keep_this_level) {
                                 log_debug("Keeping \"%s\".", sub_path);
@@ -644,10 +642,8 @@ static int dir_cleanup(
                                         r = log_error_errno(errno, "rmdir(%s): %m", sub_path);
 
                 } else {
-                        /* Skip files for which the sticky bit is
-                         * set. These are semantics we define, and are
-                         * unknown elsewhere. See XDG_RUNTIME_DIR
-                         * specification for details. */
+                        /* Skip files for which the sticky bit is set. These are semantics we define, and are
+                         * unknown elsewhere. See XDG_RUNTIME_DIR specification for details. */
                         if (s.st_mode & S_ISVTX) {
                                 log_debug("Skipping \"%s\": sticky bit set.", sub_path);
                                 continue;
@@ -674,8 +670,7 @@ static int dir_cleanup(
                                 continue;
                         }
 
-                        /* Keep files on this level around if this is
-                         * requested */
+                        /* Keep files on this level around if this is requested */
                         if (keep_this_level) {
                                 log_debug("Keeping \"%s\".", sub_path);
                                 continue;