From ec3618d5f797d1e1e98e52ae63a6bab09e208d2b Mon Sep 17 00:00:00 2001 From: MasterofJOKers Date: Wed, 28 Jun 2023 19:14:59 +0200 Subject: [PATCH] lxc: Fix checking for -h/--help in get-lxc-idmap-config The previous version wasn't dash - Debian's default /bin/sh - compatible. --- lxc/get-lxc-idmap-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/get-lxc-idmap-config b/lxc/get-lxc-idmap-config index 30f2766..2be45e6 100755 --- a/lxc/get-lxc-idmap-config +++ b/lxc/get-lxc-idmap-config @@ -56,7 +56,7 @@ usage () { TYPE="${1}" -if [ "${TYPE}" = "" || "${TYPE}" == "--help" || "${TYPE}" == "-h" ]; then +if [ "${TYPE}" = "" ] || [ "${TYPE}" = "--help" ] || [ "${TYPE}" = "-h" ]; then usage fi