diff options
author | Christian Seiler <christian@iwakd.de> | 2015-01-23 15:26:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-27 18:55:50 +0100 |
commit | 4d858e7d9f39038713f760d7acc64acf7bba2aa7 (patch) | |
tree | 7fca23504352992759cfe0af8a714bc55b5747fc /src/sleep | |
parent | e611755d98ac6b213f39426359c3a94defc6a029 (diff) |
logind: remove per-user runtime dir again if setup fails
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.
Diffstat (limited to 'src/sleep')
0 files changed, 0 insertions, 0 deletions