define ERROR_MESSAGE
printf "$(_R)%s$(_N)\n" "$(1)" >&8
endef
ifeq ($(findstring s,$(OPENWRT_VERBOSE)),)
define MESSAGE
printf "$(_Y)%s$(_N)\n" "$(1)" >&8
endef
The output of printf
is sent to file descriptor number 8. Likely to bypass existing >/dev/null
, 2>/dev/null
redirections.
A wrapping command will then redirect descriptor 8 back to stdout (1) or stderr (2).
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.