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:
@@ -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
|
||||
|
Reference in New Issue
Block a user