From a8ef30f934041f1cac0d3fee8c664fcf4c9b383e Mon Sep 17 00:00:00 2001 From: Ali Mirjamali Date: Thu, 12 Sep 2024 13:09:51 +0330 Subject: [PATCH] Allow qubes-dom0-update concurrency on Audio Switch fixes: https://github.com/QubesOS/qubes-issues/issues/6345 --- dom0-updates/qubes-dom0-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index b4d4580..cc4bdb3 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -200,7 +200,7 @@ LOCKFILE="/var/run/qubes/qubes-dom0-update.lock" exec 9>"${LOCKFILE}" [ "$ID" == 0 ] && chgrp qubes "${LOCKFILE}" && chmod g+w "${LOCKFILE}" flock -n 9 -if [[ ${?} -ne 0 ]]; then +if [[ ${?} -ne 0 ]] && [[ ! $SWITCHING_AUDIO_IN_PROGRESS ]]; then echo "Another instance of qubes-dom0-update is already running!" exit 1 fi