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);