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

The previous version wasn't dash - Debian's default /bin/sh -
compatible.
main
MasterofJOKers 10 months ago
parent e09ee60593
commit ec3618d5f7

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

Loading…
Cancel
Save