Make mpc stop optional
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
10db95f81a
commit
006e8978d1
1 changed files with 1 additions and 1 deletions
2
bin/lock
2
bin/lock
|
@ -14,7 +14,7 @@ function log() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Stop MPD playback when mpc client was found
|
# 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
|
# Disable systemd user services
|
||||||
for svc in "${systemd_services[@]}"; do
|
for svc in "${systemd_services[@]}"; do
|
||||||
|
|
Loading…
Reference in a new issue