mirror of
https://github.com/YunoHost-Apps/biboumi_ynh.git
synced 2024-09-03 18:15:58 +02:00
Fix test
This commit is contained in:
parent
f8b6e79711
commit
8220286b33
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ _get_metronome_config_dir() {
|
|||
|
||||
# multi_instance=false, there's only one
|
||||
metronome_app=$(yunohost app list --json | jq -r '.apps[] | select(.id == "metronome") | .id')
|
||||
if (( ${#metronome_apps[@]} == 0 )); then
|
||||
if [[ -z "${metronome_app:-}" ]]; then
|
||||
ynh_print_warn --message="Could not find any metronome app!"
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue