Skip to content

Commit 697a1e8

Browse files
committed
🇨🇳 hassio for china
1 parent 8b3449d commit 697a1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant-supervised/DEBIAN/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ URL_VERSION="https://version.home-assistant.io/stable.json"
1919
HASSIO_VERSION=$(curl -s ${URL_VERSION} | jq -e -r '.supervisor')
2020
URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt"
2121

22-
DOCKER_DRIVER=${DOCKER_STORAGE_DRIVER:=$(cat /etc/docker-driver >/dev/null 2>&1)}
22+
DOCKER_DRIVER=${DOCKER_STORAGE_DRIVER:=$(cat /etc/docker-driver 2>/dev/null)}
2323
if [ -n "$DOCKER_DRIVER" ]; then
2424
cat /etc/docker/daemon.* >> /tmp/hassio.log
2525
sed -i "s@\:\s*\"overlay2\"@\: \"$DOCKER_DRIVER\"@g" /etc/docker/daemon.*

0 commit comments

Comments
 (0)