diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | draksnapshot-applet | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,6 @@ +- applet: + o fix crash if DBus is active but Hal isn't (#44434) + Version 0.17 - 30 September 2008, Thierry Vignaud - configurator: diff --git a/draksnapshot-applet b/draksnapshot-applet index 587a1f7..715604e 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -93,8 +93,7 @@ my $dbus_error = $@; # initializing DBus/HAL: my ($do, $con); -if ($dbus) { - $do = dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager); +if ($dbus && $do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) }) { $con = eval { $dbus->{connection} }; my $old_time; |