Commit 22a73fcf authored by Anton Midyukov's avatar Anton Midyukov

x11-autologin: do nothing, if user altlinux does not exist

parent 41238db4
......@@ -7,6 +7,10 @@ if [ ! -x /usr/bin/X ]; then
fi
USER=altlinux
if ! id "$USER" >&/dev/null; then
echo "SKIP autologin: $USER does not exist"
exit 0
fi
add_nopasswdlogin_group()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment