]> granicus.if.org Git - pdns/commitdiff
Don't completely disable completion when nothing matches
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Dec 2015 16:58:55 +0000 (17:58 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Dec 2015 16:58:55 +0000 (17:58 +0100)
This should fix #2901.

pdns/dnsdist-console.cc

index 768cd28f12e5c86eedb6dff0b16f816b41875db0..21ac2779c62a5706a3a6ca564a4b7548be4fbcb3 100644 (file)
@@ -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;
 }
 }