mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Redirect stdout and stderr
This commit is contained in:
parent
eb02841546
commit
572b65a946
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
ynh-dev
|
@ -114,7 +114,7 @@ function create_sym_link() {
|
|||
function check_lxd_setup()
|
||||
{
|
||||
# Check lxd is installed somehow
|
||||
[[ -e /snap/bin/lxd ]] || which lxd 2>/dev/null \
|
||||
[[ -e /snap/bin/lxd ]] || which lxd &>/dev/null \
|
||||
|| critical "You need to have LXD installed for ynh-dev to be usable from the host machine. Refer to the README to know how to install it."
|
||||
|
||||
# Check that we'll be able to use lxc/lxd using sudo (for which the PATH is defined in /etc/sudoers and probably doesn't include /snap/bin)
|
||||
|
|
Loading…
Add table
Reference in a new issue