]> dxcluster.org Git - spider.git/commitdiff
fix echo typo
authorDirk Koopman <djk@tobit.co.uk>
Sun, 10 May 2020 22:51:12 +0000 (23:51 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 10 May 2020 22:51:12 +0000 (23:51 +0100)
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');