1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

libdaemon: fix typo in last log enable commit

This commit is contained in:
David Teigland 2015-10-21 11:22:22 -05:00
parent 0aee04288e
commit a0d819172f

View File

@ -166,7 +166,7 @@ static int _parse_one(log_state *s, int outlet, const char *type, int enable)
daemon_log_enable(s, outlet, DAEMON_LOG_ERROR, enable); daemon_log_enable(s, outlet, DAEMON_LOG_ERROR, enable);
else if (!strcmp(type, "warn")) else if (!strcmp(type, "warn"))
daemon_log_enable(s, outlet, DAEMON_LOG_WARN, enable); daemon_log_enable(s, outlet, DAEMON_LOG_WARN, enable);
else if (!strcmp(type, "warn")) else if (!strcmp(type, "info"))
daemon_log_enable(s, outlet, DAEMON_LOG_INFO, enable); daemon_log_enable(s, outlet, DAEMON_LOG_INFO, enable);
else if (!strcmp(type, "wire")) else if (!strcmp(type, "wire"))
daemon_log_enable(s, outlet, DAEMON_LOG_WIRE, enable); daemon_log_enable(s, outlet, DAEMON_LOG_WIRE, enable);