lxc-checkconfig: Fix bashism

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2022-02-02 21:11:09 -05:00
parent 73bc39ac8c
commit 903b1996b9
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -111,7 +111,8 @@ KVER_MINOR=$($CAT $CONFIG | grep '^# Linux.*Kernel Configuration' | \
fi
if [ -z "${KVER_MAJOR}" ]; then
echo "WARNING: Unable to detect version from configuration, assuming latest\n"
echo "WARNING: Unable to detect version from configuration, assuming latest"
echo ""
KVER_MAJOR="100"
KVER_MINOR="0"
fi