aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 3a4a0795c..a37802d5c 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3252,7 +3252,7 @@ while(1) {
my $check = 1; # no response yet
# See if there is a custom reply for the full text
- my $fulltext = $FTPCMD . " " . $FTPARG;
+ my $fulltext = $FTPARG ? $FTPCMD . " " . $FTPARG : $FTPCMD;
my $text = $fulltextreply{$fulltext};
if($text && ($text ne "")) {
sendcontrol "$text\r\n";