diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-13 18:56:10 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-13 18:56:10 +0000 |
commit | b6e0b26d5938c1567fd496a1c4d53fd1211ce6d7 (patch) | |
tree | e3ff14280f7936750dd91b1907624be8d29b37e3 /user/sddm/sddm.post-install | |
parent | b17c896452101db63f84a6b9535ef170aad9e3e9 (diff) | |
download | packages-b6e0b26d5938c1567fd496a1c4d53fd1211ce6d7.tar.gz packages-b6e0b26d5938c1567fd496a1c4d53fd1211ce6d7.tar.bz2 packages-b6e0b26d5938c1567fd496a1c4d53fd1211ce6d7.tar.xz packages-b6e0b26d5938c1567fd496a1c4d53fd1211ce6d7.zip |
user/sddm: Fix logind usage and don't crash if sddm user exists
Diffstat (limited to 'user/sddm/sddm.post-install')
-rw-r--r-- | user/sddm/sddm.post-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/sddm/sddm.post-install b/user/sddm/sddm.post-install index 3e3850cde..7078e3be2 100644 --- a/user/sddm/sddm.post-install +++ b/user/sddm/sddm.post-install @@ -1,3 +1,3 @@ #!/bin/sh -useradd -G video -c "Display manager user" -d /var/lib/sddm -m -r -s /sbin/nologin -U sddm +useradd -G video -c "Display manager user" -d /var/lib/sddm -m -r -s /sbin/nologin -U sddm || exit 0 |