diff options
-rwxr-xr-x | globetrotter/make_live | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live index cb81d5615..f0a7ba095 100755 --- a/globetrotter/make_live +++ b/globetrotter/make_live @@ -59,6 +59,7 @@ sub get_hds() { my $all_hds = fsedit::get_hds(); my $other; ($all_hds->{hds}, $other) = partition { $_->{usb_description} eq 'LaCie|LaCie Hard Drive USB' } @{$all_hds->{hds}}; + die "I did not found any LaCie disk\n" if !$all_hds->{hds}[0]; $all_hds, $all_hds->{hds}[0]; # $other } |