From 0933f6c0bd3c50efd36460c7e508707a9d21b314 Mon Sep 17 00:00:00 2001 From: Stephen Person Date: Wed, 1 Dec 2021 23:01:03 -0500 Subject: Update docker cli message for case where user creates directory Check for any existing system object in docker script to clear warning message (Resolving PR comments) [NO NEW TESTS NEEDED] Signed-off-by: Stephen Person Signed-off-by: Daniel J Walsh --- docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker b/docker index 56ffb56ac..efc363f54 100755 --- a/docker +++ b/docker @@ -1,4 +1,4 @@ #!/bin/sh -[ -f /etc/containers/nodocker ] || \ +[ -e /etc/containers/nodocker ] || \ echo "Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg." >&2 exec /usr/bin/podman "$@" -- cgit v1.2.3-54-g00ecf