@pmatilai commented on this pull request.
> @@ -235,23 +235,26 @@ static int runGPG(sigTarget sigt, const char *sigfile)
}
if (!(pid = fork())) {
- const char *tty = ttyname(STDIN_FILENO);
- const char *gpg_path = NULL;
+ int using_gpg = (strstr(argv[0], "gpg") != NULL);
It's a feeble check for sure, added without much thought because autodetecting
the command wasn't really on my radar to begin with. It's not hard to better
though so we just as well might, thanks for pointing that out.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3280#discussion_r1745098653
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3280/review/2282328...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint