Correcting live-media=removeable{,-usb} behaviour to match the documented one.
authoramnesia <amnesia@boum.org>
Sun, 7 Feb 2010 14:14:34 +0000 (15:14 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:07 +0000 (17:48 +0100)
The manpage states that "the keyword 'removable' can be used to limit the search
of acceptable live media to removable type only".

scripts/live

index e17f66f..26cd5cf 100755 (executable)
@@ -1515,6 +1515,7 @@ find_livefs ()
                                        fi
                                fi
                        done
+                       return 1
                        ;;
 
                removable)
@@ -1531,6 +1532,7 @@ find_livefs ()
                                        done
                                fi
                        done
+                       return 1
                        ;;
 
                *)