Fixed FSP_TRACE output for Bourne shells in fhostcmd

This commit is contained in:
Radim Kolar 2010-10-18 11:12:49 +02:00
parent 4f1ab5d148
commit e7f7549fb2
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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");
}
}