no need for cat when grepping

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2015-05-30 13:02:37 +02:00
parent d02a7f8c0e
commit d964e084fc

View file

@ -49,7 +49,7 @@ fi
# 1.7 # 1.7
check_1_7="1.7 - Only allow trusted users to control Docker daemon" check_1_7="1.7 - Only allow trusted users to control Docker daemon"
docker_users=`cat /etc/group | grep docker` docker_users=`grep docker /etc/group`
info "$check_1_7" info "$check_1_7"
for u in $docker_users; do for u in $docker_users; do
info " * $u" info " * $u"