diff --git a/contrib/scripts/astcli b/contrib/scripts/astcli
index 723e1ba6450a54c5508378b77d11caa672513939..0ea245f14170670c8e5191515021c47c6d1fb1c7 100755
--- a/contrib/scripts/astcli
+++ b/contrib/scripts/astcli
@@ -101,7 +101,7 @@ if ($action eq '-' || !defined $action || $action eq '') {
 		$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 (<>) {