diff options
author | Werner Koch <[email protected]> | 2012-01-03 10:13:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-01-03 10:13:30 +0000 |
commit | d01d9ff11f46cbd61b7b8c0e04431e4f0c4a8580 (patch) | |
tree | 5b1e43cae865a4cfd34681945d39d31ad02e5376 | |
parent | Only set gcrypt thread callback for older version of gcrypt. (diff) | |
download | gnupg-d01d9ff11f46cbd61b7b8c0e04431e4f0c4a8580.tar.gz gnupg-d01d9ff11f46cbd61b7b8c0e04431e4f0c4a8580.zip |
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.
-rw-r--r-- | agent/gpg-agent.c | 4 | ||||
-rw-r--r-- | scd/scdaemon.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index f98d821ae..63f4ba2c8 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -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 diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 128ecc31d..6f8d01049 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -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 { |