From 4829a2bca2987261c8d205683261f8a0d6db524d Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 13 May 2009 15:19:03 +0000 Subject: [PATCH] Dont require SSL.pm unless its installed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/aixremoteshell | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT/postscripts/aixremoteshell b/xCAT/postscripts/aixremoteshell index 64be9e873..3c070975b 100755 --- a/xCAT/postscripts/aixremoteshell +++ b/xCAT/postscripts/aixremoteshell @@ -26,7 +26,11 @@ # MAIN use strict; use IO::Socket; -use IO::Socket::SSL; +my $useSocketSSL=eval { require IO::Socket::SSL; }; +if ($useSocketSSL) { + require IO::Socket::SSL; +} + my $rc = 0; # Override from site table