add a 'not found' message if sh/dx shows nothing
[spider.git] / cmd / show / dx.pl
index 21a126b6a0c6aab728ea0546d84df894ffe07d3e..192d252fce49addc2c46c79bb40c95d5497a5f81 100644 (file)
@@ -406,6 +406,7 @@ push @out, $self->spawn_cmd("sh/dx $line", \&Spot::search,
                                                                                }
                                                                        }
                                                                }
+                                                               push @out, $self->msg('e3', "sh/dx", "'$line'") unless @out;
                                                                $dxchan->send(@out);
                                                        });