mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 07:07:18 +02:00
12 lines
553 B
Diff
12 lines
553 B
Diff
--- a/bin/winapps
|
|
+++ b/bin/winapps
|
|
@@ -295,7 +295,7 @@ function waCheckGroupMembership() {
|
|
# shellcheck disable=SC2155 # Silence warnings regarding masking return values through simultaneous declaration and assignment.
|
|
local USER_GROUPS=$(groups "$(whoami)")
|
|
|
|
- if ! (echo "$USER_GROUPS" | grep -q -E "\blibvirt\b") || ! (echo "$USER_GROUPS" | grep -q -E "\bkvm\b"); then
|
|
+ if ! (echo "$USER_GROUPS" | grep -q -E "\blibvirtd\b") || ! (echo "$USER_GROUPS" | grep -q -E "\bkvm\b"); then
|
|
waThrowExit "$EC_NOT_IN_GROUP"
|
|
fi
|
|
}
|