diff options
Diffstat (limited to 'src/xorriso-usb.sh')
-rw-r--r-- | src/xorriso-usb.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xorriso-usb.sh b/src/xorriso-usb.sh index 61fcda0..7ff9825 100644 --- a/src/xorriso-usb.sh +++ b/src/xorriso-usb.sh | |||
@@ -35,6 +35,10 @@ fi | |||
35 | 35 | ||
36 | for fs; do | 36 | for fs; do |
37 | [ -f "$fs" ] || die "not a file: $fs" | 37 | [ -f "$fs" ] || die "not a file: $fs" |
38 | case "$fs" in | ||
39 | *.btrfs) ;; | ||
40 | *) die "invalid name (does not match *.btrfs): $fs" ;; | ||
41 | esac | ||
38 | shift | 42 | shift |
39 | set -- "$@" "rootfs/${fs##*/}=$fs" | 43 | set -- "$@" "rootfs/${fs##*/}=$fs" |
40 | done | 44 | done |
@@ -137,7 +141,7 @@ if [ "$QUICK_TEST" ]; then | |||
137 | fi | 141 | fi |
138 | 142 | ||
139 | if [ "$REPLACE_INITRD" ]; then | 143 | if [ "$REPLACE_INITRD" ]; then |
140 | initrd.sh | 144 | initrd.sh || die 'initrd.sh failed' |
141 | fi | 145 | fi |
142 | 146 | ||
143 | (set -x | 147 | (set -x |