From cedf20eb36b9d33c18d0cf0162a3c9dac6eb6ebb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 19 Aug 2025 14:45:34 +0200 Subject: [PATCH] Simplify No other args --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 660e6597..2ae3306c 100755 --- a/install.sh +++ b/install.sh @@ -12,11 +12,10 @@ if ! cmp -s /proc/1/root/ / 2>/dev/null; then fi chrootable_systemctl_enable() { - local args=("$@") if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then - sudo systemctl "${args[@]}" enable + sudo systemctl enable $1 else - sudo systemctl "${args[@]}" enable --now + sudo systemctl enable --now $1 fi }