It's more readable when using that syntax with test
This commit is contained in:
parent
6f4f299006
commit
9a52beedbe
|
@ -954,7 +954,7 @@ if [ `uname -s` == "OpenBSD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_WHEEL" = 1 ]; then
|
if [ "$IS_WHEEL" = 1 ]; then
|
||||||
if test -f /etc/sudoers; then
|
if [ -f /etc/sudoers ]; then
|
||||||
grep -qE "^%wheel.*$" /etc/sudoers || echo 'IS_WHEEL FAILED!'
|
grep -qE "^%wheel.*$" /etc/sudoers || echo 'IS_WHEEL FAILED!'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue