From bff7e1ba074d547a81c6642398c93509e1340c7a Mon Sep 17 00:00:00 2001 From: Kayou Date: Fri, 22 Jan 2021 10:33:34 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alexandre Aubin --- ynh-dev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ynh-dev b/ynh-dev index d0c821e..98b5b79 100755 --- a/ynh-dev +++ b/ynh-dev @@ -141,7 +141,8 @@ function start_ynhdev() if ! sudo lxc image info $BOX-base &>/dev/null then LXC_BASE="ynh-dev-$DIST-amd64-$YNH_BRANCH-base" - sudo lxc launch yunohost:$LXC_BASE $BOX -c security.nesting=true -c security.privileged=true || critical "We can't find the image $LXC_BASE in the Yunohost remote. You should first build the base YunoHost LXC using ./ynh-dev rebuild" + sudo lxc launch yunohost:$LXC_BASE $BOX -c security.nesting=true -c security.privileged=true \ + || critical "Failed to launch the container ?" else sudo lxc launch $BOX-base $BOX -c security.nesting=true -c security.privileged=true fi