On Thu, 06.11.14 14:44, Vito Caputo ([email protected]) wrote:

Hmm? What is this about? Why would you want to run systemd --user as
PID 1?

> diff --git a/src/core/main.c b/src/core/main.c
> index d48604e..cd9d6ee 100644
> --- a/src/core/main.c
> +++ b/src/core/main.c
> @@ -2013,7 +2013,7 @@ finish:
>                            getpid() == 1 ? "freezing" : "quitting");
>          }
> 
> -        if (getpid() == 1)
> +        if (arg_running_as != SYSTEMD_USER && getpid() == 1)
>                  freeze();
> 
>          return retval;
> -- 
> 2.1.1

> _______________________________________________
> systemd-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel



Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to