@mlschroe commented on this pull request.


>  
     if (rc) {
        rpmlog(RPMLOG_ERR, _("failed to import key: %s: %s\n"),
-               path, strerror(errno));
+               tmppath ? tmppath : path, strerror(errno));
+       if (tmppath)
+           unlink(tmppath);
+    }
+    
+    if (!rc && replace) {
+       /* find and delete the old pubkey entry */

see above.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3083#discussion_r1609890493
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3083/review/2071094...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to