From e7f7549fb209c8bc4047c52f36d3fdc9c85264fd Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Mon, 18 Oct 2010 11:12:49 +0200 Subject: [PATCH] Fixed FSP_TRACE output for Bourne shells in fhostcmd --- ChangeLog | 3 +++ clients/fhost.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 493b11e..d1eded6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Version NEXT + fhostcmd: Fixed output of FSP_TRACE variable for Bourne style shells + Version 2.8.1b26 - 1 Oct 2009 fver now reports if server can process extra data in input packets. fspclient did that for a long time. This field is used by fspd diff --git a/clients/fhost.c b/clients/fhost.c index e0cdc08..42196c2 100644 --- a/clients/fhost.c +++ b/clients/fhost.c @@ -203,7 +203,7 @@ int print_host_setup(struct fsp_host *setup,int csh,int lhost) if (setup->trace) printf("setenv FSP_TRACE;\n"); else printf("unsetenv FSP_TRACE;\n"); } else { - if (setup->trace) printf("FSP_TRACE;\nexport FSP_TRACE;\n"); + if (setup->trace) printf("FSP_TRACE=on;\nexport FSP_TRACE;\n"); else printf("unset FSP_TRACE;\n"); } }