From 8f4e2c184df234d09cc78e7cbd4c49695fde9f98 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Jul 2024 11:24:04 +0200 Subject: [PATCH] Chain commands properly --- scripts/Common/OS/setup.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index 7f6d0ebe..d1618fcf 100644 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -28,9 +28,9 @@ begin "$name" end - chroot "$mountDir" usermod -aG wheel "$name" + and chroot "$mountDir" usermod -aG wheel "$name" - begin + and begin echo "$name ALL=(ALL:ALL) NOPASSWD: ALL" end | chroot "$mountDir" tee "/etc/sudoers.d/PortValhalla" > /dev/null