From a5c8ec98bcb1aa09e17f895195b9d515c1dcc8a4 Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 23 Oct 2025 22:19:46 +0200 Subject: [PATCH] Fix shellcheck --- ynh-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ynh-dev b/ynh-dev index f93df37..84dc326 100755 --- a/ynh-dev +++ b/ynh-dev @@ -454,7 +454,7 @@ function api() { systemctl --quiet is-active yunohost-api && systemctl stop yunohost-api || true systemctl --quiet is-active yunohost-portal-api && systemctl stop yunohost-portal-api || true - for PID in $(pgrep -f yunohost-api) $(pgrep -f yunohost-portal-api); do kill $PID; done + for PID in $(pgrep -f yunohost-api) $(pgrep -f yunohost-portal-api); do kill "$PID"; done yunohost-api --debug & yunohost-portal-api --debug & }