diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2020-09-10 17:27:17 +0100 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2020-09-10 17:28:45 +0100 |
commit | e23df83a49111a1f9cf0e0dfb0974316ba27cbad (patch) | |
tree | 3ebe6281cb605007d8b1e828561072a9ba0dd235 | |
parent | fix property spelling (diff) | |
download | hal-automounter-e23df83a49111a1f9cf0e0dfb0974316ba27cbad.tar.gz hal-automounter-e23df83a49111a1f9cf0e0dfb0974316ba27cbad.tar.bz2 hal-automounter-e23df83a49111a1f9cf0e0dfb0974316ba27cbad.zip |
-rwxr-xr-x | hal-automounter.pl | 2 |
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'; |