mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-25 12:40:21 +00:00
Changed module load error - Line #640
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -636,8 +636,9 @@ sub runcmd {
|
||||
######################################
|
||||
# Load specific module
|
||||
######################################
|
||||
unless ( eval "require $modname" ) {
|
||||
return( ["Can't locate $modname"] );
|
||||
eval "require $modname";
|
||||
if ( $@ ) {
|
||||
return( [$@] );
|
||||
}
|
||||
######################################
|
||||
# Invoke method
|
||||
|
Reference in New Issue
Block a user