From 5949834cdee67123f2f9da5c9d2d24e91553eb4e Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sat, 1 Jan 2022 11:25:18 +0100 Subject: [PATCH] enter: format --- distrobox-enter | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distrobox-enter b/distrobox-enter index c364bc6c0b..9f59dd20a4 100755 --- a/distrobox-enter +++ b/distrobox-enter @@ -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"