summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-28 16:58:00 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-28 16:58:00 +0000
commit12667e2aff64193fd750e74128b086064dfd5f09 (patch)
tree3d628d041b415f08626fb627c2acba42f8b2310d
parent44085af83b91c776357eea7434043a4af0416495 (diff)
downloaddrakx-backup-do-not-use-12667e2aff64193fd750e74128b086064dfd5f09.tar
drakx-backup-do-not-use-12667e2aff64193fd750e74128b086064dfd5f09.tar.gz
drakx-backup-do-not-use-12667e2aff64193fd750e74128b086064dfd5f09.tar.bz2
drakx-backup-do-not-use-12667e2aff64193fd750e74128b086064dfd5f09.tar.xz
drakx-backup-do-not-use-12667e2aff64193fd750e74128b086064dfd5f09.zip
recycle object earlier
also we do now that we're not in installer
-rwxr-xr-xperl-install/standalone/logdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index c24a8caa3..145a38e74 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -44,8 +44,7 @@ foreach (@ARGV) {
/^--alert$/ and do { alert_config(); quit() };
}
-my $do_pkgs = do_pkgs::do_pkgs($in);
-$do_pkgs->ensure_is_installed("syslog-daemon") or exit(0);
+do_pkgs_standalone->new($in)->ensure_is_installed("syslog-daemon") or exit(0);
my $isTail = $isFile;
$| = 1 if $isTail;