Skip to content
Snippets Groups Projects
Commit f2593f30 authored by tamaina's avatar tamaina
Browse files

fix

parent b19382fe
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ fi
#endregion
else
m_uid=$(id -u "$misskey_user");
oldid=$(sudo docker images --no-trunc --format "{{.ID}}" $docker_repository);
oldid=$(sudo -u "$misskey_user" XDG_RUNTIME_DIR=/run/user/$m_uid DOCKER_HOST=unix:///run/user/$m_uid/docker.sock docker images --no-trunc --format "{{.ID}}" $docker_repository);
if [ $method == "docker" ]; then
if [ $# == 1 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment