summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-01-18 15:52:31 +0100
committerLennart Poettering <lennart@poettering.net>2019-02-15 17:16:54 +0100
commita23fabc6978c85ad128e3c74424b7254928513d6 (patch)
treeba97e6733ff3068c221038122f07893cdc09bfd6 /src/tmpfiles
parent76e15a9cab0e0b0b8a166c14f60b170ff5cb58fd (diff)
downloadsystemd-a23fabc6978c85ad128e3c74424b7254928513d6.tar.gz
tmpfiles: break comment blocks according to our current editor settings
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 50a0243d98..4bf148ef3d 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -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;