[lxc-devel] [PATCH] utils: dialback setproctitle failure message
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Nov 9 20:10:14 UTC 2015
Quoting Tycho Andersen (tycho.andersen at canonical.com):
> This isn't in any way fatal, so let's only warn about it with INFO, not
> ERROR.
>
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> src/lxc/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lxc/utils.c b/src/lxc/utils.c
> index d9e769d..dac6418 100644
> --- a/src/lxc/utils.c
> +++ b/src/lxc/utils.c
> @@ -1458,7 +1458,7 @@ int setproctitle(char *title)
> if (ret == 0)
> strcpy((char*)arg_start, title);
> else
> - SYSERROR("setting cmdline failed");
> + INFO("setting cmdline failed - %s", strerror(errno));
>
> return ret;
> }
> --
> 2.6.2
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list