fix echo typo
[spider.git] / perl / DXCommandmode.pm
index 18c5807b28085d91d26b281a1ba0813bdf8c1778..9d9f60b45e90b199fda5f5c4246d064d8ef1e412 100644 (file)
@@ -553,7 +553,7 @@ sub run_cmd
                                if (isdbg('progress')) {
                                        my $msecs = _diffms($t0);
                                        my $s = "CMD: '$cmd $args' by $call ip: $self->{hostname} ${msecs}mS";
-                                       dbg($s) if $cmd =~/(?:echo|blank)/ || isdbg('echo');     # cut down a bit on HRD and other clients' noise
+                                       dbg($s) if $cmd !~ /^(?:echo|blank)/ || isdbg('echo');     # cut down a bit on HRD and other clients' noise
                                }
                        } else {
                                dbg("cmd: $package not present") if isdbg('command');