From 1121a3f818c4fb7db49988dc9d200c4ed6a9da6a Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 4 Jul 2025 13:32:21 +0900 Subject: [PATCH] git init update --- src/bin/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/init.sh b/src/bin/init.sh index fa63fd0..8a8a262 100644 --- a/src/bin/init.sh +++ b/src/bin/init.sh @@ -25,7 +25,7 @@ GIT_COMMAND_BASE=("git"); if [ -n "${USE_SUDO}" ]; then # if we are root -> ok, else we must be SUDO USER if [ "$(whoami)" = "root" ]; then - GIT_COMMAND_BASE=("sudo" "-u" "${SUDO_USER}" "git");. + GIT_COMMAND_BASE=("sudo" "-u" "${SUDO_USER}" "git"); elif [ "$(whoami)" != "${SUDO_USER}" ]; then echo "Script must be run as root or as the ${SUDO_USER}"; error=1;