From 6aa1a557af57d0121d16f849feb8d8d493c53a21 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 Mar 2019 14:58:57 +0100 Subject: [PATCH] Bad substitution... --- ynh-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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