summaryrefslogtreecommitdiffstats
path: root/draksnapshot-applet
diff options
context:
space:
mode:
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-xdraksnapshot-applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 54eaa19..a4c08bd 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -83,7 +83,7 @@ my $con = $dbus->{connection};
my $old_time;
$con->add_filter(sub {
my ($_bus, $msg) = @_;
- return if $msg->get_member ne 'DeviceAdded';
+ return 0 if $msg->get_member ne 'DeviceAdded';
my $hal = $dbus->get_service($hal_dn);
my $bool;
eval {