Quoting Stéphane Graber ([email protected]):
> Signed-off-by: Stéphane Graber <[email protected]>

Acked-by: Serge E. Hallyn <[email protected]>

> ---
>  src/lxc/log.c | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/src/lxc/log.c b/src/lxc/log.c
> index f0b8ff0..2f880e2 100644
> --- a/src/lxc/log.c
> +++ b/src/lxc/log.c
> @@ -301,14 +301,8 @@ extern int lxc_log_init(const char *name, const char 
> *file,
>               return 0;
>       }
>  
> -     if (priority) {
> -             if (lxc_priority == LXC_LOG_PRIORITY_NOTSET) {
> -                     ERROR("invalid log priority %s", priority);
> -                     return -1;
> -             }
> -
> +     if (priority)
>               lxc_priority = lxc_log_priority_to_int(priority);
> -     }
>  
>       lxc_log_category_lxc.priority = lxc_priority;
>       lxc_log_category_lxc.appender = &log_appender_logfile;
> -- 
> 1.9.rc1
> 
> _______________________________________________
> lxc-devel mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-devel
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to