Skip to content

Commit

Permalink
Update setup-sshd.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Mar 24, 2024
1 parent 1f87b01 commit 19d0706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup-sshd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ chmod 700 /tmp/.ssh
chmod 600 /tmp/.ssh/authorized_keys
chown -R 1000:1000 /tmp

if [ -S ]; then
if [ -S /var/run/docker.sock ]; then
DOCKER_GROUP=$(stat -c '%G' /var/run/docker.sock)
DOCKER_GROUP_ID=$(stat -c '%g' /var/run/docker.sock)
groupadd -g "$DOCKER_GROUP_ID" docker
Expand Down

0 comments on commit 19d0706

Please sign in to comment.