From 88c10c164e6e4a4dd858708161402439d7781a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Sat, 21 Jan 2017 21:34:59 +0100 Subject: [PATCH] correct redirect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- helper_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper_lib.sh b/helper_lib.sh index e1bf7c8..8b4a635 100644 --- a/helper_lib.sh +++ b/helper_lib.sh @@ -55,7 +55,7 @@ get_command_line_args() { get_docker_cumulative_command_line_args() { OPTION="$1" - if ! get_command_line_args "docker daemon" > 1 ; then + if ! get_command_line_args "docker daemon" >/dev/null 2>&1 ; then line_arg="docker daemon" else line_arg="dockerd"