From e3397f832929881c1282e5e22fda0094c954178e Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Sun, 17 Nov 2024 02:40:09 +0100 Subject: [PATCH] use `newgrp` Co-authored-by: Jeevitha Kannan K S --- core/tabs/applications-setup/docker-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index c6dbd164..d2c29395 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -56,6 +56,7 @@ install_docker() { printf "%b\n" "${YELLOW}Adding current user to the docker group...${RC}" "$ESCALATION_TOOL" usermod -aG docker "$USER" + newgrp docker printf "%b\n" "${GREEN}Current user added to the docker group successfully.${RC}" }