mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Terminate csh commands with a semicolon.
Fixes bug#1386. * agent/gpg-agent.c (main): Terminate csh style output with a semicolon. * scd/scdaemon.c: Ditto.
This commit is contained in:
parent
3005b0a6f4
commit
217d2ec8af
@ -1175,13 +1175,13 @@ main (int argc, char **argv )
|
||||
if (csh_style)
|
||||
{
|
||||
*strchr (infostr, '=') = ' ';
|
||||
printf ("setenv %s\n", infostr);
|
||||
printf ("setenv %s;\n", infostr);
|
||||
if (opt.ssh_support)
|
||||
{
|
||||
*strchr (infostr_ssh_sock, '=') = ' ';
|
||||
printf ("setenv %s\n", infostr_ssh_sock);
|
||||
printf ("setenv %s;\n", infostr_ssh_sock);
|
||||
*strchr (infostr_ssh_pid, '=') = ' ';
|
||||
printf ("setenv %s\n", infostr_ssh_pid);
|
||||
printf ("setenv %s;\n", infostr_ssh_pid);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -828,7 +828,7 @@ main (int argc, char **argv )
|
||||
if (csh_style)
|
||||
{
|
||||
*strchr (infostr, '=') = ' ';
|
||||
printf ( "setenv %s\n", infostr);
|
||||
printf ( "setenv %s;\n", infostr);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user