Skip to content

Commit bb474dc

Browse files
authored
Merge pull request #639 from darkdoc/fix_remote_podman
fix: Drop the quiet from the podman system connection list cmd
2 parents f5f3d01 + ecc55fa commit bb474dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pattern-util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fi
6262

6363
# Detect if we use podman machine. If we do not then we bind mount local host ssl folders
6464
# if we are using podman machine then we do not bind mount anything (for now!)
65-
REMOTE_PODMAN=$(podman system connection list -q | wc -l)
65+
REMOTE_PODMAN=$(podman system connection list | tail -n +2 | wc -l)
6666
if [ $REMOTE_PODMAN -eq 0 ]; then # If we are not using podman machine we check the hosts folders
6767
# We check /etc/pki/tls because on ubuntu /etc/pki/fwupd sometimes
6868
# exists but not /etc/pki/tls and we do not want to bind mount in such a case

0 commit comments

Comments
 (0)