From 0e9c2b599da8a9cf5ed79b31bd1ae03d9c31aefd Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 28 Mar 2008 15:59:51 +0000 Subject: fix a warning in Net::DBus::Binding git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@241094 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- draksnapshot-applet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'draksnapshot-applet') 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 { -- cgit v1.2.1