chiark / gitweb /
login,user-sessions: always warn when we fail to remove nologin file
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Feb 2018 05:58:33 +0000 (06:58 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:58 +0000 (07:58 +0200)
commitbe2283cf9e565994ae6db0db57a555c6db704fe0
treeed271eeac4c0a0bc07256a2dd5d7d4d53c80ac2d
parent6aa3ef01f65ac3ca0d949d4534f8bcd796f1a053
login,user-sessions: always warn when we fail to remove nologin file

This usually is very annoying to users who then cannot log in, so
make sure we always warn if that happens (selinux, or whatever other reason).

This reverts a790812cb349c5cef95d1b4a20fc80ca08d3a145.
src/basic/fs-util.c
src/basic/fs-util.h
src/login/logind-dbus.c
src/login/logind.c