diff --git a/xCAT-server/lib/xcat/plugins/prescripts.pm b/xCAT-server/lib/xcat/plugins/prescripts.pm index 16a0e3c88..4ec7a15d9 100644 --- a/xCAT-server/lib/xcat/plugins/prescripts.pm +++ b/xCAT-server/lib/xcat/plugins/prescripts.pm @@ -180,7 +180,7 @@ sub runbeginpre } if ($err_code != 0) { $rsp = {}; - $rsp->{error}->[0]="$localhostname: $s: return code=$err_code."; + $rsp->{error}->[0]="$localhostname: $s: return code=$err_code. Error message=$ret"; $callback->($rsp); last; } @@ -233,7 +233,7 @@ sub runendpre } if ($err_code != 0) { $rsp = {}; - $rsp->{error}->[0]="$localhostname: $s: return code=$err_code."; + $rsp->{error}->[0]="$localhostname: $s: return code=$err_code. Error message=$ret"; $callback->($rsp); last; } diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index a7447393c..97c24b9c0 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -295,9 +295,9 @@ sub tabrestore $cb->({error => "The header line indicates that column '$tcol' should exist, which is not defined in the schema for '$table'",errorcode=>1}); return; } - print Dumper(grep /^$tcol\z/,@{$xCAT::Schema::tabspec{$table}->{cols}}); + #print Dumper(grep /^$tcol\z/,@{$xCAT::Schema::tabspec{$table}->{cols}}); } - print "We passed it!\n"; + #print "We passed it!\n"; my $line; my $rollback = 0;