[asterisk-commits] tilghman: branch 1.6.0 r125584 - in /branches/1.6.0: ./ contrib/scripts/astcli

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 26 17:50:18 CDT 2008


Author: tilghman
Date: Thu Jun 26 17:50:17 2008
New Revision: 125584

URL: http://svn.digium.com/view/asterisk?view=rev&rev=125584
Log:
Merged revisions 125583 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r125583 | tilghman | 2008-06-26 17:49:16 -0500 (Thu, 26 Jun 2008) | 2 lines

Don't hang if the command is blank

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/contrib/scripts/astcli

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/contrib/scripts/astcli
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/contrib/scripts/astcli?view=diff&rev=125584&r1=125583&r2=125584
==============================================================================
--- branches/1.6.0/contrib/scripts/astcli (original)
+++ branches/1.6.0/contrib/scripts/astcli Thu Jun 26 17:50:17 2008
@@ -101,7 +101,7 @@
 		$attribs->{completion_function} = \&tab_completion;
 		while (defined($_ = $term->readline($prompt))) {
 			(logoff() and exit) if $_ =~ /exit|quit/; # Give them a way to exit the "terminal"
-			print send_command($_);
+			print send_command($_) if $_ !~ m/^\s*$/;
 		}	
 	} else {
 		while (<>) {




More information about the asterisk-commits mailing list