summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Person <stephen@Stephens-Air.fios-router.home>2021-12-01 23:01:03 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-10 08:51:26 -0500
commit0933f6c0bd3c50efd36460c7e508707a9d21b314 (patch)
treeed5f4f732793582c3b385fe481bc6e684ab8282b
parentb5b932f7abebe58f8eb841fc0ac894785a167aa3 (diff)
downloadpodman-0933f6c0bd3c50efd36460c7e508707a9d21b314.tar.gz
podman-0933f6c0bd3c50efd36460c7e508707a9d21b314.tar.bz2
podman-0933f6c0bd3c50efd36460c7e508707a9d21b314.zip
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 <stephen.person.12@cnu.edu> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rwxr-xr-xdocker2
1 files changed, 1 insertions, 1 deletions
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 "$@"