summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shared/install.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 6f6087c4ee..1f5828de56 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -563,7 +563,7 @@ static int remove_marked_symlinks_fd(
rewinddir(d);
- FOREACH_DIRENT(de, d, return -errno) {
+ FOREACH_DIRENT(de, d, return -errno)
if (de->d_type == DT_DIR) {
_cleanup_free_ char *p = NULL;
@@ -646,7 +646,6 @@ static int remove_marked_symlinks_fd(
if (q > 0 && !dry_run)
*restart = true;
}
- }
return r;
}