X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmain.c;h=a0bcbdf06d0dd38c17e6328af5b0dbabc457dbe8;hb=71ecc858fa91a686a050bee51804d43865ce1acc;hp=589d9f04254d8c9426be60d6afefb3cc03f36115;hpb=6996295f85a0402b8a72d76c1eab02fb8152f81d;p=elogind.git diff --git a/src/main.c b/src/main.c index 589d9f042..a0bcbdf06 100644 --- a/src/main.c +++ b/src/main.c @@ -1333,9 +1333,10 @@ int main(int argc, char *argv[]) { arg_running_as == MANAGER_SYSTEM); if (arg_running_as == MANAGER_SYSTEM) { - /* Parse the data passed to us by the initrd and unset it */ + /* Parse the data passed to us. We leave this + * variables set, but the manager later on will not + * pass them on to our children. */ parse_initrd_timestamp(&initrd_timestamp); - filter_environ("RD_"); /* Unset some environment variables passed in from the * kernel that don't really make sense for us. */