import: drop unnecessary condition

This commit is contained in:
Yu Watanabe
2018-06-25 13:54:44 +09:00
parent 712fdfd609
commit d61b34f1b2
+1 -2
View File
@@ -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);