-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:
jbjohnso 2008-07-31 21:07:18 +00:00
parent 260820e5e8
commit e8f8bdcc92

View File

@ -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