summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MGA/DrakISO')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index 9ad155a..b40210c 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -536,7 +536,7 @@ sub customise_live_system {
# Remove any packages as requested by the user.
my @erase = @{$build->{system}{erase_rpms} || []};
- run_in_root($root, $arch, 'rpm -e', @erase) if @erase;
+ run_in_root($root, $arch, 'rpm', '-e', @erase) if @erase;
print "..disabling unwanted services\n" if $::verbose > 1;