Commit c26f528e authored by Mike Hibler's avatar Mike Hibler
Browse files

Random: add the node name to a couple of error messages.

parent ca08bc75
......@@ -71,11 +71,11 @@ sub _icebox_exec ($$) {
# Log in to the icebox
$ssh->waitfor(-match => '/password: ?$/i',
-errmode => "return")
or die "failed to connect to host: ", $ssh->lastline;
or die "$host: failed to connect: ", $ssh->lastline;
$ssh->waitfor(-match => $ssh->prompt,
-errmode => "return")
or die "login failed: ", $ssh->lastline;
or die "$host: login failed: ", $ssh->lastline;
# Send the command to the icebox and get any output
my @output = $ssh->cmd($cmd);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment