mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Clarify "user admin exists" message
This commit is contained in:
parent
c426be582a
commit
c1195d1f30
4 changed files with 11 additions and 11 deletions
|
@ -123,11 +123,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" != 'yes' ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Check admin user account
|
||||
# Check admin group
|
||||
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ "$force" != 'yes' ]; then
|
||||
echo "Error: user admin exists"
|
||||
echo "Error: group admin exists"
|
||||
echo
|
||||
echo 'Please remove admin user account before proceeding.'
|
||||
echo 'Please remove admin group before proceeding.'
|
||||
echo 'If you want to do it automatically run installer with -f option:'
|
||||
echo "Example: bash $0 --force"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue