summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhal-automounter.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal-automounter.pl b/hal-automounter.pl
index cd29780..5c01651 100755
--- a/hal-automounter.pl
+++ b/hal-automounter.pl
@@ -132,7 +132,7 @@ sub device_added {
return unless defined $fstype;
- my $mountpoint='/mnt/'.(sanitize($label)||$uuid);
+ my $mountpoint='/mnt/'.(sanitize($label)||$uuid||'unknown');
if (-e $mountpoint) {
$mountpoint.='-0';