From aa7596bad88ae33c4b530979c510dc18255711b8 Mon Sep 17 00:00:00 2001 From: superpuffin <35958013+superpuffin@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:11:42 +0200 Subject: [PATCH] Remove shift from install-nginx-attachment.sh Shift is unecessary here, since we are already picking the first argument (i.e. $1 instead of $0, which would be the command). --- nodes/nginx_attachment/install-nginx-attachment.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/nodes/nginx_attachment/install-nginx-attachment.sh b/nodes/nginx_attachment/install-nginx-attachment.sh index 01b5472..300ffbd 100755 --- a/nodes/nginx_attachment/install-nginx-attachment.sh +++ b/nodes/nginx_attachment/install-nginx-attachment.sh @@ -114,7 +114,6 @@ if [ "$(id -u)" != "0" ]; then exit 1 fi -shift run "${@}" exit 0