From a1705dc258fe78f7c038b3692b9f7bed3a16d859 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 15 Apr 2012 13:12:16 +0000 Subject: [PATCH] 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 --- xCAT-client/bin/psh | 1 + 1 file changed, 1 insertion(+) 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;