diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-03-02 17:17:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-03-18 10:22:20 +0100 |
commit | 066931818d92dce63ebe97800a638defbb6246b9 (patch) | |
tree | 36c871c9512b7245844cd3012c0908c739397838 /src/shared/install.c | |
parent | shell-completion: Add completion in bootctl (diff) | |
download | systemd-066931818d92dce63ebe97800a638defbb6246b9.tar.xz systemd-066931818d92dce63ebe97800a638defbb6246b9.zip |
shared/install: drop unnecessary parentheses
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 3 |
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; } |