Re: [systemd-devel] [PATCH 1/2] logind: remove per-user runtime dir again if setup fails

2015-01-27 Thread Lennart Poettering
On Fri, 23.01.15 15:26, Christian Seiler (christ...@iwakd.de) wrote: > If setup of per-user runtime dir fails, clean up afterwards by removing > the directory before returning from the function, so we don't leave the > directory behind. > > If this is not done, the second time the user logs in lo

[systemd-devel] [PATCH 1/2] logind: remove per-user runtime dir again if setup fails

2015-01-23 Thread Christian Seiler
If setup of per-user runtime dir fails, clean up afterwards by removing the directory before returning from the function, so we don't leave the directory behind. If this is not done, the second time the user logs in logind would assume that the directory is already set up, even though it isn't. --