diff options
Diffstat (limited to 'src/logind-seat.c')
-rw-r--r-- | src/logind-seat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logind-seat.c b/src/logind-seat.c index c232a87d5d..df91cd0d8a 100644 --- a/src/logind-seat.c +++ b/src/logind-seat.c @@ -86,6 +86,9 @@ int seat_save(Seat *s) { assert(s); + if (!s->started) + return 0; + r = safe_mkdir("/run/systemd/seats", 0755, 0, 0); if (r < 0) goto finish; |