mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 13:31:27 +00:00
lxc-checkconfig: Fix bashism
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
73bc39ac8c
commit
903b1996b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user