mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
I have noticed that ConfigureLogs do not return an error in case logging was already configured -- instead it just warns about it. So I went ahead and changed the warning to the actual error... ... only to discover I broke things badly, because in case of runc init logging is configured twice. The fix is to not configure logging in case we are init. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>