Fixed usages warning.

This commit is contained in:
moony 2023-03-12 22:11:33 -04:00
parent 08fda27fed
commit e24640ab31

@ -7,7 +7,7 @@
# Proper usage checks.
[ -z "$1" ] && echo "Usage:
artix-luks-base-install /dev/sdX encrytption_pw" && exit
artix-luks-base-install /dev/sdX encrytption_pw root_pw" && exit
[ -z "$(ls /sys/firmware/efi/efivars)" ] && echo "EFI only installation; Please boot with EFI." && exit
[ "$(id -u)" != 0 ] && echo "Root privileges required." && exit
! "$(connmanctl state | grep -qe online -qe ready)" &&