summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 11:59:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 11:59:03 +0000
commitaaff6dff3ac0e9b19810fc1bc836f30c19918e5d (patch)
tree24d563bb50162681d48011773d41f501c720d888 /perl-install/services.pm
parent8eb45d87d70be8b1802f5f6c79cf53b3099b0596 (diff)
downloaddrakx-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar
drakx-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.gz
drakx-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.bz2
drakx-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.tar.xz
drakx-aaff6dff3ac0e9b19810fc1bc836f30c19918e5d.zip
make new perl_checker happy
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index 7174048a9..3c06859be 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -186,7 +186,7 @@ sub ask_standalone_gtk {
my $W = my_gtk->new(_("Services"));
my ($x, $y, $w_popup);
my $nopop = sub { $w_popup and $w_popup->destroy };
- my $display = sub { $nopop->(); $_[0] and gtkmove(gtkshow(gtkadd($w_popup=new Gtk::Window (-popup),
+ my $display = sub { $nopop->(); $_[0] and gtkmove(gtkshow(gtkadd($w_popup = new Gtk::Window (-popup),
gtksignal_connect(gtkadd(new Gtk::EventBox(),
gtkadd(gtkset_shadow_type(new Gtk::Frame, 'etched_out'),
gtkset_justify(new Gtk::Label($_[0]), 0))),
@@ -229,7 +229,7 @@ sub ask_standalone_gtk {
}}), "@$on_services" =~ /$service/)),
map { my $a = $_;
gtkpack__(new Gtk::HBox(0,0), gtksignal_connect(new Gtk::Button(_($a)),
- clicked => sub { my $c = "service $service " . (lc($a) eq "start" ? "restart" : lc($a)) . " 2>&1"; local $_=`$c`; s/\033\[[^mG]*[mG]//g;
+ clicked => sub { my $c = "service $service " . (lc($a) eq "start" ? "restart" : lc($a)) . " 2>&1"; local $_ = `$c`; s/\033\[[^mG]*[mG]//g;
($started, $action) = $update_service->($service, $l);
$display->($_);
}