mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
Temporary and HP-UX autobuild specific change to debug SSH server start-up failures
This commit is contained in:
parent
a1708730c3
commit
7c6e0d5981
@ -1162,6 +1162,8 @@ sub runsshserver {
|
|||||||
return (0,0);
|
return (0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $dbghosttype=join(' ', runclientoutput("uname -a"));
|
||||||
|
|
||||||
my $pid = checkserver($pidfile);
|
my $pid = checkserver($pidfile);
|
||||||
if($pid > 0) {
|
if($pid > 0) {
|
||||||
stopserver($pid);
|
stopserver($pid);
|
||||||
@ -1181,6 +1183,10 @@ sub runsshserver {
|
|||||||
if($sshpid <= 0 || !kill(0, $sshpid)) {
|
if($sshpid <= 0 || !kill(0, $sshpid)) {
|
||||||
# it is NOT alive
|
# it is NOT alive
|
||||||
logmsg "RUN: failed to start the SSH server\n";
|
logmsg "RUN: failed to start the SSH server\n";
|
||||||
|
if(($dbghosttype =~ /HP-UX/) && ($dbghosttype =~ /hairball/)) {
|
||||||
|
display_sshdlog();
|
||||||
|
display_sshdconfig();
|
||||||
|
}
|
||||||
stopserver("$pid2");
|
stopserver("$pid2");
|
||||||
$doesntrun{$pidfile} = 1;
|
$doesntrun{$pidfile} = 1;
|
||||||
return (0,0);
|
return (0,0);
|
||||||
|
Loading…
Reference in New Issue
Block a user