mirror of
git://github.com/lxc/lxc
synced 2025-09-04 06:49:33 +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
|
fi
|
||||||
|
|
||||||
if [ -z "${KVER_MAJOR}" ]; then
|
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_MAJOR="100"
|
||||||
KVER_MINOR="0"
|
KVER_MINOR="0"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user