mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Merge pull request #528 from konstruktoid/issue527
tr is required, not truncate
This commit is contained in:
commit
1f9933a867
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ readonly myname
|
||||||
export PATH="$PATH:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin/"
|
export PATH="$PATH:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin/"
|
||||||
|
|
||||||
# Check for required program(s)
|
# Check for required program(s)
|
||||||
req_programs 'awk docker grep stat tee tail wc xargs truncate sed'
|
req_programs 'awk docker grep sed stat tail tee tr wc xargs'
|
||||||
|
|
||||||
# Ensure we can connect to docker daemon
|
# Ensure we can connect to docker daemon
|
||||||
if ! docker ps -q >/dev/null 2>&1; then
|
if ! docker ps -q >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in a new issue