lxc: Fix checking for -h/--help in get-lxc-idmap-config

The previous version wasn't dash - Debian's default /bin/sh -
compatible.
This commit is contained in:
MasterofJOKers 2023-06-28 19:14:59 +02:00
parent e09ee60593
commit ec3618d5f7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ usage () {
TYPE="${1}" TYPE="${1}"
if [ "${TYPE}" = "" || "${TYPE}" == "--help" || "${TYPE}" == "-h" ]; then if [ "${TYPE}" = "" ] || [ "${TYPE}" = "--help" ] || [ "${TYPE}" = "-h" ]; then
usage usage
fi fi