summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-25 13:54:44 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-06-25 13:54:44 +0900
commitd61b34f1b22d1d7a641a1652ff23113d3e87ace7 (patch)
tree2cba0fd7e89ea3d7ac4c7cb6f04a60d2a4864925
parent712fdfd6096d0403f56c941a768d9c65f852dc11 (diff)
downloadsystemd-d61b34f1b22d1d7a641a1652ff23113d3e87ace7.tar.gz
import: drop unnecessary condition
-rw-r--r--src/import/pull-common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/import/pull-common.c b/src/import/pull-common.c
index 4117ed2e6a..459024fb22 100644
--- a/src/import/pull-common.c
+++ b/src/import/pull-common.c
@@ -520,8 +520,7 @@ int pull_verify(PullJob *main_job,
}
finish:
- if (sig_file >= 0)
- (void) unlink(sig_file_path);
+ (void) unlink(sig_file_path);
if (gpg_home_created)
(void) rm_rf(gpg_home, REMOVE_ROOT|REMOVE_PHYSICAL);