Don't make complete builtin complain when used in non-interactive mode, as we can always launch a debug prompt. Who are we to question why?

darcs-hash:20090222162253-ac50b-bb3c9dc1d1fa33548a2ed7b3c7c4d21d527eba47.gz
This commit is contained in:
axel 2009-02-23 02:22:53 +10:00
parent 810262118a
commit 47ae2a05ce

View file

@ -308,11 +308,6 @@ static int builtin_complete( wchar_t **argv )
static int recursion_level=0;
if( !is_interactive_session )
{
debug( 1, _(L"%ls: Command only available in interactive sessions"), argv[0] );
}
al_init( &cmd );
al_init( &path );
sb_init( &short_opt );