mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix group deletion.
This commit is contained in:
1 parent
0eb3d35b5b
commit
d65d2c4725
1 file changed
+2
-1
@@ -42,6 +42,7 @@ EOF
|
||||
|
||||
if [ $? -eq 65 ]; then
|
||||
# Cannot have empty group, so just delete the group.
|
||||
ldapdelete -Y EXTERNAL -H ldapi:/// "$line"
|
||||
dn=$(echo "$line" | cut -d' ' -f2)
|
||||
ldapdelete -Y EXTERNAL -H ldapi:/// "$dn"
|
||||
fi
|
||||
done <<< "$results"
|
||||
Reference in new issue
Block a user