From: Remi Gacogne Date: Wed, 23 Dec 2015 16:58:55 +0000 (+0100) Subject: Don't completely disable completion when nothing matches X-Git-Tag: dnsdist-1.0.0-alpha1~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3105%2Fhead;p=thirdparty%2Fpdns.git Don't completely disable completion when nothing matches This should fix #2901. --- diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 768cd28f12..21ac2779c6 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -229,8 +229,6 @@ char** my_completion( const char * text , int start, int end) else rl_bind_key('\t',rl_abort); - if(!matches) - rl_bind_key('\t', rl_abort); return matches; } }