aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/update-all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-all.sh b/bin/update-all.sh
index 2c1781f..9249478 100755
--- a/bin/update-all.sh
+++ b/bin/update-all.sh
@@ -8,7 +8,7 @@
# from Portage are NOT available unless --sync IS used.
# Stuff that we have to do inside Docker:
-if grep -qa docker /proc/1/cgroups && [[ ${1} != "production" ]]; then
+if [[ -e /proc/1/cgroups ]] && grep -qa docker /proc/1/cgroups && [[ ${1} != "production" ]]; then
emerge --sync
fi