diff --git a/packages/nixos-hosts/nixos-hosts.sh b/packages/nixos-hosts/nixos-hosts.sh index 6532660..eb82c43 100644 --- a/packages/nixos-hosts/nixos-hosts.sh +++ b/packages/nixos-hosts/nixos-hosts.sh @@ -113,8 +113,7 @@ missing_opt_value() { log_fatal "Option $1 requires a value" } -# shellcheck disable=SC2154 -while [[ $# > 0 ]]; do +while (( $# > 0 )); do case "$1" in -h|--help) opt_help=true