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/branches/2.7@12050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-03-29 13:31:04 +00:00
parent 4b67f2df5e
commit f9715aaebb

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;