summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraksnapshot-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/draksnapshot-config b/draksnapshot-config
index 3558037..127a762 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -112,7 +112,7 @@ my $where;
if (!$backup_directory || $::testing) {
my $dbus = get_system_bus();
if ($dbus) {
- my @discs = map { $_->GetProperty('volume.mount_point') } find_removable_volumes($dbus);
+ my @discs = map { $_->GetProperty('volume.mount_point') } eval { find_removable_volumes($dbus) };
$backup_directory = $discs[0];
}
}