aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ftpserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 1d209d8d9..b6ed5839a 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3114,9 +3114,10 @@ while(1) {
else {
$text = $displaytext{$FTPCMD};
}
+
my $check;
if($text && ($text ne "")) {
- if($cmdid && ($cmdid ne "")) {
+ if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
sendcontrol "$cmdid$text\r\n";
}
else {