no need to run --edit-user/group, if name has not changed

This commit is contained in:
Ralf Becker 2017-03-30 17:40:30 +02:00
parent 83768e932d
commit 50d9290b38

View File

@ -14,6 +14,9 @@ while IFS=, read account_lid account_id ad_user SID RID rest
do
if [ -n "$account_id" -a -n "$RID" ]
then
[ -z "$account_lid" -o -z "$ad_user" -o "$account_lid" = "$ad_user" ] && {
echo -n "#"
}
if [ $account_id -gt 0 ]
then
echo "admin/admin-cli.php --edit-user '$ADMIN,$PASSWD,$account_lid=$ad_user'"