mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +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
a2d9e48fcc
commit
d01d9ff11f
@ -1197,11 +1197,11 @@ main (int argc, char **argv )
|
||||
if (csh_style)
|
||||
{
|
||||
*strchr (infostr, '=') = ' ';
|
||||
es_printf ("setenv %s\n", infostr);
|
||||
es_printf ("setenv %s;\n", infostr);
|
||||
if (opt.ssh_support)
|
||||
{
|
||||
*strchr (infostr_ssh_sock, '=') = ' ';
|
||||
es_printf ("setenv %s\n", infostr_ssh_sock);
|
||||
es_printf ("setenv %s;\n", infostr_ssh_sock);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -843,7 +843,7 @@ main (int argc, char **argv )
|
||||
if (csh_style)
|
||||
{
|
||||
*strchr (infostr, '=') = ' ';
|
||||
es_printf ( "setenv %s\n", infostr);
|
||||
es_printf ( "setenv %s;\n", infostr);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user