]> git.proxmox.com Git - mirror_iproute2.git/commit
lib: Make check_enable_color() return boolean
authorPhil Sutter <phil@nwl.cc>
Fri, 17 Aug 2018 16:38:46 +0000 (18:38 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Aug 2018 15:55:16 +0000 (08:55 -0700)
commit515a766cd29bbed8a180733e93bc8590b001cad7
tree98483b906698bea7708ef079e41f0daa37f4ca4b
parentff1ab8edf827f55b86c6487c90b7454975d52236
lib: Make check_enable_color() return boolean

As suggested, turn return code into true/false although it's not checked
anywhere yet.

Fixes: 4d82962cccc6a ("Merge common code for conditionally colored output")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/color.h
lib/color.c