mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Bad substitution...
This commit is contained in:
parent
d4b7eab8d2
commit
6aa1a557af
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue