From 47ae2a05ceb559744ce8505acc833493af3ab72d Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 23 Feb 2009 02:22:53 +1000 Subject: [PATCH] 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 --- builtin_complete.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/builtin_complete.c b/builtin_complete.c index 7f4e897..de12787 100644 --- a/builtin_complete.c +++ b/builtin_complete.c @@ -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 );