correct redirect

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2017-01-21 21:34:59 +01:00
parent c5355d793b
commit 88c10c164e

View file

@ -55,7 +55,7 @@ get_command_line_args() {
get_docker_cumulative_command_line_args() { get_docker_cumulative_command_line_args() {
OPTION="$1" 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" line_arg="docker daemon"
else else
line_arg="dockerd" line_arg="dockerd"