Skip to content

Commit

Permalink
enter: format
Browse files Browse the repository at this point in the history
  • Loading branch information
89luca89 committed Jan 1, 2022
1 parent 0550f86 commit 5949834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distrobox-enter
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ fi
#
# This is not necessary on docker as it is already handled
# in this way.
if [ "${container_manager}" = "podman" ] && [ -S "/run/user/$(id -ru)/podman/podman.sock" ] &&
if [ "${container_manager}" = "podman" ] &&
[ -S "/run/user/$(id -ru)/podman/podman.sock" ] &&
systemctl --user status podman.socket >/dev/null; then

container_manager="${container_manager} --remote"
Expand Down

0 comments on commit 5949834

Please sign in to comment.