1
0
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:
Werner Koch 2012-01-03 11:13:30 +01:00
parent a2d9e48fcc
commit d01d9ff11f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
{