Fix problem where serialized empty list of args manifested differently between xml and storable strategies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
df8fdf3896
commit
4e16d8fb9f
@ -89,7 +89,9 @@ if ($arg ne "NO_NODE_RANGE") {
|
||||
$arg = join(',',@tempnr);
|
||||
$cmdref->{noderange}->[0]=$arg;
|
||||
}
|
||||
push (@{$cmdref->{arg}}, @ARGV);
|
||||
if (@ARGV) {
|
||||
push (@{$cmdref->{arg}}, @ARGV);
|
||||
}
|
||||
foreach (keys %ENV) {
|
||||
if (/^XCAT_/) {
|
||||
$cmdref->{environment}->{$_} = $ENV{$_};
|
||||
|
@ -41,7 +41,9 @@ else
|
||||
}
|
||||
|
||||
|
||||
push (@{$cmdref->{arg}}, @ARGV);
|
||||
if (@ARGV) {
|
||||
push (@{$cmdref->{arg}}, @ARGV);
|
||||
}
|
||||
foreach (keys %ENV) {
|
||||
if (/^XCAT_/) {
|
||||
$cmdref->{environment}->{$_} = $ENV{$_};
|
||||
|
Loading…
Reference in New Issue
Block a user