aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index b6ed5839a..14419813f 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3117,7 +3117,7 @@ while(1) {
my $check;
if($text && ($text ne "")) {
- if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
+ if(($cmdid) && ($cmdid ne "") && ((!$fake) || ($fake eq ""))) {
sendcontrol "$cmdid$text\r\n";
}
else {