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:
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…
Reference in New Issue