From f37cd482eaac93e520c4cf0159fd4c07e3bdae43 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 1 May 2023 03:43:53 +0200 Subject: [PATCH] typo --- src/root/install_nanodesk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/install_nanodesk.sh b/src/root/install_nanodesk.sh index 88d5c91..740bd79 100755 --- a/src/root/install_nanodesk.sh +++ b/src/root/install_nanodesk.sh @@ -8,7 +8,6 @@ CHROOTCMD="chroot /mnt/" -target="$1" message () { echo "== " $1 @@ -46,6 +45,7 @@ Options: exit 1 fi +target="$1" if [ ! -b "$target" ] then message "$target does not exist or is not a blockdevice."