-Fix problem where copycds without argument would fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
260820e5e8
commit
e8f8bdcc92
@ -40,7 +40,9 @@ sub process_request {
|
||||
$::CDMOUNTPATH="/mnt/xcat";
|
||||
my $existdir = getcwd;
|
||||
|
||||
@ARGV = @{$request->{arg}};
|
||||
if ($request->{arg}) {
|
||||
@ARGV = @{$request->{arg}};
|
||||
}
|
||||
GetOptions(
|
||||
'n|name|osver=s' => \$distname,
|
||||
'a|arch=s' => \$arch
|
||||
|
Loading…
Reference in New Issue
Block a user