diff options
-rwxr-xr-x | src/parted-usb.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh index 3e4778f..3bf95be 100755 --- a/src/parted-usb.sh +++ b/src/parted-usb.sh | |||
@@ -272,7 +272,10 @@ samizdat_linux_dir=/ | |||
272 | DEFAULT_ROOTFS=rootfs/samizdat.seed.btrfs | 272 | DEFAULT_ROOTFS=rootfs/samizdat.seed.btrfs |
273 | #DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs | 273 | #DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs |
274 | 274 | ||
275 | if [ "$ROOTFS" ] | 275 | if [ "$ROOTFS" = none ] |
276 | then | ||
277 | ROOTFS= | ||
278 | elif [ "$ROOTFS" ] | ||
276 | then | 279 | then |
277 | [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS" | 280 | [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS" |
278 | elif [ -f "$DEFAULT_ROOTFS" ] | 281 | elif [ -f "$DEFAULT_ROOTFS" ] |