2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 10:29:35 +00:00

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

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