summaryrefslogtreecommitdiff
path: root/docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker.sh')
-rwxr-xr-xdocker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker.sh b/docker.sh
index c33bf2b..c22291d 100755
--- a/docker.sh
+++ b/docker.sh
@@ -25,4 +25,4 @@ sudo usermod -G docker $USER
sudo curl -L https://github.com/docker/compose/releases/download/v2.15.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
-exec sg docker "newgrp `id -gn`"
+sudo su $USER