summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-10 21:03:25 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-10 21:03:25 -0300
commit03101e68d95b17f69bacac888b9cf17e4784fda3 (patch)
treec74c8043167f1361a8d28be6ee1809ada6a0b4c9
parent2a213e4096ad7dd60741f724042126562ea9711d (diff)
Added --session-command to su
-rwxr-xr-xdocker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker.sh b/docker.sh
index 5f10e05..e8d8b23 100755
--- a/docker.sh
+++ b/docker.sh
@@ -25,4 +25,4 @@ sudo usermod -aG 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
-sudo su $USER
+sudo su $USER --session-command "./install.sh"