From: Yu Watanabe Date: Mon, 25 Jun 2018 04:54:44 +0000 (+0900) Subject: import: drop unnecessary condition X-Git-Tag: v240~1051^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d61b34f1b22d1d7a641a1652ff23113d3e87ace7;p=thirdparty%2Fsystemd.git import: drop unnecessary condition --- diff --git a/src/import/pull-common.c b/src/import/pull-common.c index 4117ed2e6aa..459024fb220 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);