deflogin: treat no users as a warning
There could be root-only VM appliances, for example, and ROOTPW is now handled through this feature.
This commit is contained in:
parent
4cb875cc5b
commit
1445ff423b
@ -2,7 +2,10 @@
|
||||
# issue welcome message if there's a guest user
|
||||
# (the first one configured with empty password)
|
||||
|
||||
[ -n "$GLOBAL_USERS" ] || exit 1
|
||||
[ -n "$GLOBAL_USERS" ] || {
|
||||
echo "** 50-issue: warning, no users created" >&1
|
||||
exit 0
|
||||
}
|
||||
|
||||
guest=
|
||||
for u in $GLOBAL_USERS; do
|
||||
|
Loading…
Reference in New Issue
Block a user