This commit is contained in:
Marcus 2023-05-01 03:43:53 +02:00
parent 4d5ee707b3
commit f37cd482ea

View file

@ -8,7 +8,6 @@
CHROOTCMD="chroot /mnt/" CHROOTCMD="chroot /mnt/"
target="$1"
message () { message () {
echo "== " $1 echo "== " $1
@ -46,6 +45,7 @@ Options:
exit 1 exit 1
fi fi
target="$1"
if [ ! -b "$target" ] if [ ! -b "$target" ]
then then
message "$target does not exist or is not a blockdevice." message "$target does not exist or is not a blockdevice."