From 705e83eafb858b8f779566c4a42d6431d5c9a86a Mon Sep 17 00:00:00 2001 From: Dave Jansen Date: Mon, 1 Dec 2025 21:32:01 +0900 Subject: [PATCH] I always forget. --- build_files/cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_files/cleanup.sh b/build_files/cleanup.sh index a5b19bf..e1bb758 100755 --- a/build_files/cleanup.sh +++ b/build_files/cleanup.sh @@ -19,7 +19,7 @@ cat /usr/lib/group if [ -f /etc/passwd ]; then out=$(grep -v "root" /etc/passwd) - if [ ! -z "$out" ]; then + if [[ ! -z "$out" ]]; then echo echo Appending the following passwd users to /usr/lib/passwd echo "$out" @@ -30,7 +30,7 @@ fi if [ -f /etc/group ]; then out=$(grep -v "root\|wheel" /etc/group) - if [ ! -z "$out" ]; then + if [[ ! -z "$out" ]]; then echo echo Appending the following group entries to /usr/lib/group echo "$out"