mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
[fix] Show message in terminal when restarting Docker to avoid confusion
This commit is contained in:
@@ -1938,7 +1938,7 @@ reset_proxy() {
|
||||
|
||||
[[ -f /etc/systemd/system/docker.service.d/http-proxy.conf ]] && rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
|
||||
systemctl daemon-reload
|
||||
command -v docker &> /dev/null && systemctl restart docker
|
||||
command -v docker &> /dev/null && echo "Restarting Docker..." && systemctl restart docker
|
||||
|
||||
[[ -f /root/.docker/config.json ]] && rm -f /root/.docker/config.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user