Have psh have /dev/null opened as stdin instead of nothing

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-04-15 13:12:16 +00:00
parent 978d0e5876
commit a1705dc258

View File

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