From 9550eaa72054d8ca8b87755f29317530b6ad88bc Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 23 Dec 2015 17:58:55 +0100 Subject: [PATCH] Don't completely disable completion when nothing matches This should fix #2901. --- pdns/dnsdist-console.cc | 2 -- 1 file changed, 2 deletions(-) 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; } } -- 2.47.2