diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-26 17:04:16 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-26 17:04:16 -0700 |
commit | 38895db3aa7a65c1c3b18d8bace5d407834b3145 (patch) | |
tree | 044c0f4b95660450cbb8391b6da66feef5286413 | |
parent | 983a55aa0649e48467b2e41f9550759535634854 (diff) | |
parent | 03fb0dbf4ce6c6f7f5b8a0c2da7e0df49e1444b5 (diff) |
Merge pull request #3717 from makocchi-git:fix/deb_postinst
PiperOrigin-RevId: 328638615
-rwxr-xr-x | debian/postinst.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst.sh b/debian/postinst.sh index d1e28e17b..6a326f823 100755 --- a/debian/postinst.sh +++ b/debian/postinst.sh @@ -21,7 +21,7 @@ fi # Update docker configuration. if [ -f /etc/docker/daemon.json ]; then runsc install - if systemctl status docker 2>/dev/null; then + if systemctl is-active -q docker; then systemctl restart docker || echo "unable to restart docker; you must do so manually." >&2 fi fi |