diff --git a/tools/server-setup.d/20-automation-user.sh b/tools/server-setup.d/20-automation-user.sh index d103be9..2fe5824 100755 --- a/tools/server-setup.d/20-automation-user.sh +++ b/tools/server-setup.d/20-automation-user.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! cat "$PATH" | grep -q "sbin"; then +if ! echo "$PATH" | grep -q "sbin"; then # sudo is quirky PATH="$PATH:/sbin" fi