diff options
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-x | draksnapshot-applet | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet index 715604e..765d31f 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -93,7 +93,8 @@ my $dbus_error = $@; # initializing DBus/HAL: my ($do, $con); -if ($dbus && $do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) }) { +$do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) }; +if ($dbus && $do) { $con = eval { $dbus->{connection} }; my $old_time; |