* Doh! Calling `system' in an END block causes the exit status in $?
to be changed to 0.
This commit is contained in:
parent
e51a276907
commit
3cfe65e516
|
@ -32,6 +32,6 @@ sub closeSSHConnection {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
END { closeSSHConnection; }
|
END { my $saved = $?; closeSSHConnection; $? = $saved; }
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue