Change psh to not leave STDIN open. Hopefully this helps ssh not get hung up expecting enters inexplicably

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-03-29 13:30:10 +00:00
parent e4037c6e09
commit f92ab6d4a4

View File

@ -5,6 +5,7 @@ BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : -d '/opt/xcat' ? '/opt/xcat' : '/usr';
}
close(STDIN);
use lib "$::XCATROOT/lib/perl";
use IO::Socket::SSL;
use XML::Simple;