It's more readable when using that syntax with test

This commit is contained in:
Tristan 2019-03-12 17:38:41 +01:00
parent 6f4f299006
commit 9a52beedbe
1 changed files with 1 additions and 1 deletions

View File

@ -954,7 +954,7 @@ if [ `uname -s` == "OpenBSD" ]; then
fi
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!'
fi
fi