summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi6
1 files changed, 1 insertions, 5 deletions
diff --git a/urpmi b/urpmi
index d6c77de8..66d312da 100755
--- a/urpmi
+++ b/urpmi
@@ -796,13 +796,9 @@ if ($pid_err && $pid_out) {
close STDOUT;
}
+use POSIX ();
POSIX::_exit $exit_code;
-sub toMb {
- my $nb = $_[0] / 1024 / 1024;
- int $nb + 0.5;
-}
-
sub untaint {
my @r;
foreach (@_) {