diff --git a/ynh-dev b/ynh-dev index 7331334..f93e9ac 100755 --- a/ynh-dev +++ b/ynh-dev @@ -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