mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Minifix for testing policy existence
This commit is contained in:
parent
5668dae81e
commit
207b7eb029
4
dist/gpupdate-setup
vendored
4
dist/gpupdate-setup
vendored
@ -37,9 +37,7 @@ enable() {
|
||||
POLICY_SETTING="/etc/local-policy"
|
||||
POLICY="${1:-default}"
|
||||
|
||||
test -d "${POLICY_DIR}/${POLICY}"
|
||||
|
||||
if $?; then
|
||||
if ! test -d "${POLICY_DIR}/${POLICY}"; then
|
||||
POLICY=default
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user