summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-24 15:34:00 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-24 15:34:00 +0000
commitb084498a1665b649ac1165bcbf63f5af33302b2a (patch)
treec245351cf28c6155b1d5259e8627f5d1090364cf
parent593df0778738126b69e64fff89bb886161b247f1 (diff)
downloadmgaonline-b084498a1665b649ac1165bcbf63f5af33302b2a.tar
mgaonline-b084498a1665b649ac1165bcbf63f5af33302b2a.tar.gz
mgaonline-b084498a1665b649ac1165bcbf63f5af33302b2a.tar.bz2
mgaonline-b084498a1665b649ac1165bcbf63f5af33302b2a.tar.xz
mgaonline-b084498a1665b649ac1165bcbf63f5af33302b2a.zip
$::no_global_argv_parsing prevented to parse --embedded; let do it
ourselves (#24470)
-rwxr-xr-xmdkonline3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkonline b/mdkonline
index b280c137..4fd801c0 100755
--- a/mdkonline
+++ b/mdkonline
@@ -70,9 +70,12 @@ usage:
}
GetOptions('interactive!' => \$ia, 'login=s' => \$login, 'pass=s' => \$password, 'box=s' => \$boxname, 'country:s' => \$country,
+ 'embedded=s' => \$::XID,
'help' => \&usage,
);
+$::XID and $::isEmbedded = 1;
+
my $in = interactive->vnew('su') if $ia;
#for compatibilities