mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Review comments
This commit is contained in:
4
scope
4
scope
@@ -46,11 +46,10 @@ check_docker_access() {
|
||||
DOCKER_SOCK_FILE="$WITHOUT_PREFIX"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ \( -n "$DOCKER_SOCK_FILE" \) -a \( ! -w "$DOCKER_SOCK_FILE" \) ]; then
|
||||
echo "ERROR: cannot write to docker socket: $DOCKER_SOCK_FILE" >&2
|
||||
echo "change socket permissions or try using sudo"
|
||||
echo "change socket permissions or try using sudo" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@@ -141,7 +140,6 @@ launch_app_command() {
|
||||
}
|
||||
|
||||
check_docker_access
|
||||
|
||||
check_docker_version
|
||||
|
||||
case "$COMMAND" in
|
||||
|
||||
Reference in New Issue
Block a user