]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/rm-rf.c
switch-root: modernize rm_rf_children() invocation a bit
[thirdparty/systemd.git] / src / basic / rm-rf.c
index acc0f88cd24a6918e369db701717b5c8db86d18e..3843fc36fcb86b6bf7b8bfca79a3780fc96bc530 100644 (file)
@@ -33,8 +33,8 @@ int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev) {
 
         assert(fd >= 0);
 
-        /* This returns the first error we run into, but nevertheless
-         * tries to go on. This closes the passed fd. */
+        /* This returns the first error we run into, but nevertheless tries to go on. This closes the passed
+         * fd, in all cases, including on failure.. */
 
         if (!(flags & REMOVE_PHYSICAL)) {