aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ea99af9f..3fa719c1 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -811,7 +811,7 @@ you may now inspect some in order to take actions:"),
my $i;
foreach (@argv) {
$i++;
- splice @argv, $i, 1 if /^--embedded$/
+ splice @argv, $i-1, 2 if /^--embedded$/
}
alarm(0);
# remember not to ask again questions and the like: