mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix logger calls typo lost in refactoring or something
This commit is contained in:
parent
f9d42bf379
commit
0cee21e5de
1 changed files with 3 additions and 3 deletions
|
@ -65,14 +65,14 @@ function check_incus_setup()
|
||||||
{
|
{
|
||||||
# Check incus is installed somehow
|
# Check incus is installed somehow
|
||||||
if ! which incus &>/dev/null; then
|
if ! which incus &>/dev/null; then
|
||||||
critical "You need to have Incus installed for ynh-dev to be usable from the host machine. Refer to the README to know how to install it."
|
log_critical "You need to have Incus installed for ynh-dev to be usable from the host machine. Refer to the README to know how to install it."
|
||||||
fi
|
fi
|
||||||
if ! id -nG "$(whoami)" | grep -qw "incus-admin"; then
|
if ! id -nG "$(whoami)" | grep -qw "incus-admin"; then
|
||||||
critical "You need to be in the incus-admin group!"
|
log_critical "You need to be in the incus-admin group!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ip a | grep -q incusbr0 \
|
ip a | grep -q incusbr0 \
|
||||||
|| warn "There is no 'incusbr0' interface... Did you ran 'incus admin init' ?"
|
|| log_warning "There is no 'incusbr0' interface... Did you ran 'incus admin init' ?"
|
||||||
|
|
||||||
set_incus_remote
|
set_incus_remote
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue