From 1da2f0100cb9c485c0e965358bc46f844542f42d Mon Sep 17 00:00:00 2001 From: Raine Date: Mon, 30 Oct 2023 01:04:08 +0100 Subject: [PATCH] fix: cat -> echo commands are hard okay --- tools/server-setup.d/20-automation-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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