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