mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 08:12:34 +01:00
tr is required, not truncate
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
26dc83ed28
commit
d6005f0211
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