summaryrefslogtreecommitdiff
path: root/contrib/check-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check-config.sh')
-rwxr-xr-xcontrib/check-config.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/check-config.sh b/contrib/check-config.sh
index 617eb93893..88f045b556 100755
--- a/contrib/check-config.sh
+++ b/contrib/check-config.sh
@@ -121,6 +121,9 @@ check_device() {
}
check_distro_userns() {
+ if [ ! -e /etc/os-release ]; then
+ return
+ fi
. /etc/os-release 2> /dev/null || /bin/true
case "$ID" in
centos | rhel)