summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 5f7627904..f723fee64 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -55,7 +55,7 @@ gtkadd(my $icon = Gtk2::TrayIcon->new("Net_Applet"),
$eventbox->signal_connect(button_press_event => sub {
if ($_[1]->button == 1) {
my @nm_pid = `ps -u $ENV{USER}` =~ /net_monitor/;
- @nm_pid > 1 and netMonitor()
+ @nm_pid > 1 or netMonitor()
}
$_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time);
});