diff --git a/xCAT-client/bin/psh b/xCAT-client/bin/psh index c4f8b8f5c..550a1d9ed 100755 --- a/xCAT-client/bin/psh +++ b/xCAT-client/bin/psh @@ -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;