On Fri, May 20, 2011 at 02:30:32PM +0200, René Nussbaumer wrote:
> ---
>  lib/daemon.py |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/lib/daemon.py b/lib/daemon.py
> index 6d6bd74..062fb3c 100644
> --- a/lib/daemon.py
> +++ b/lib/daemon.py
> @@ -449,6 +449,10 @@ class Mainloop(object):
>             len(signal_handlers) > 0, \
>             "Broken SignalHandled decorator"
>      running = True
> +
> +    # Resolve uid/gids used
> +    runtime.GetEnts()
> +

Could you please move it to the constructor? Then LGTM.

thanks,
iustin

Reply via email to