Bad substitution...

This commit is contained in:
Alexandre Aubin 2019-03-07 14:58:57 +01:00
parent d4b7eab8d2
commit 6aa1a557af

View file

@ -117,7 +117,7 @@ function check_lxc_version()
{
local LXC_VERSION=$(lxc-info --version)
if [ "${${LXC_VERSION}:0:1}" != 3 ]
if [ "${LXC_VERSION:0:1}" != 3 ]
then
echo "ERROR: you need at least version 3 of LXC otherwise the box won't work"
exit 1