mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Unify log setting's error output
When we set a wrong --log-format value, runc exit without any message: # ./runc --log-format aaa list # It is again "no news is good news" rule. And it is not unified with the case when we set a wrong --log value: # ./runc --log / list ERRO[0000] open /: is a directory open /: is a directory # This patch unified action for above two error-setting. After patch: # ./runc --log-format aaa list unknown log-format: "aaa" # Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
This commit is contained in:
Reference in New Issue
Block a user