Update 2_container.sh (Fix typo)

Fix typo and spacing.
This commit is contained in:
galoget 2023-07-25 11:48:55 -05:00 committed by GitHub
parent 667bb5220d
commit 210abd9329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ containerCheck() {
containerType="docker\n" containerType="docker\n"
fi fi
# Are we inside kubenetes? # Are we inside kubernetes?
if grep "/kubepod" /proc/1/cgroup -qa 2>/dev/null || if grep "/kubepod" /proc/1/cgroup -qa 2>/dev/null ||
grep -qai kubepods /proc/self/cgroup 2>/dev/null; then grep -qai kubepods /proc/self/cgroup 2>/dev/null; then