]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/login-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2013 Zbigniew Jędrzejewski-Szmek
13 bool session_id_valid(const char *id
);
15 static inline bool logind_running(void) {
16 return access("/run/systemd/seats/", F_OK
) >= 0;