From 006e8978d16606521757ff155e3d6d30cbd906b1 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 22 Jul 2024 15:12:32 +0200 Subject: [PATCH] Make mpc stop optional Signed-off-by: Knut Ahlers --- bin/lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lock b/bin/lock index 7ec8a80..7f56930 100755 --- a/bin/lock +++ b/bin/lock @@ -14,7 +14,7 @@ function log() { } # Stop MPD playback when mpc client was found -(which mpc >/dev/null 2>&1) && mpc stop +(which mpc >/dev/null 2>&1) && mpc stop || true # Disable systemd user services for svc in "${systemd_services[@]}"; do