From f92ab6d4a434321647cde9e573a4832b364f4424 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 29 Mar 2012 13:30:10 +0000 Subject: [PATCH] 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 --- xCAT-client/bin/psh | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-client/bin/psh b/xCAT-client/bin/psh index 80e3d65fb..c4f8b8f5c 100755 --- a/xCAT-client/bin/psh +++ b/xCAT-client/bin/psh @@ -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;