introduce the quit command which makes the resident zmcontrol.pl exit

This commit is contained in:
Isaac Connor 2015-01-07 16:37:26 -05:00
parent d0138af00c
commit 21ccb9b91a
1 changed files with 4 additions and 1 deletions

View File

@ -192,8 +192,11 @@ if ( !$server_up )
#Debug( Dumper( $params ) );
my $command = $params->{command};
$control->$command( $params );
close( CLIENT );
if ( $command eq 'quit' ) {
last;
}
$control->$command( $params );
}
else
{