Cope with being invoked as 'clusterssh'

Debian bug ID #644368
This commit is contained in:
Duncan Ferguson 2013-02-14 21:16:49 +00:00
parent 042780f873
commit b333641287
2 changed files with 2 additions and 0 deletions

View file

@ -93,6 +93,7 @@ sub new {
$comms = 'telnet' if ( $comms eq 'tel' );
$comms = 'console' if ( $comms eq 'con' );
$comms = 'ssh' if ( $comms eq 'lusterssh' );
# list of allowed comms methods
if ( 'ssh rsh telnet console' !~ m/\b$comms\b/ ) {