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:
parent
88bf8a483c
commit
5acfff0618
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user