Fix user exports

This commit is contained in:
Luck 2017-10-28 00:15:34 +01:00
parent 7279fdc25f
commit ebe12f838c
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ public class Exporter implements Runnable {
continue;
}
output.add("/lp" + NodeFactory.nodeAsCommand(node, user.getUuid().toString(), false, true));
output.add("/lp " + NodeFactory.nodeAsCommand(node, user.getUuid().toString(), false, true));
}
if (!user.getPrimaryGroup().getStoredValue().orElse("default").equalsIgnoreCase("default")) {

View File

@ -323,7 +323,7 @@ public abstract class ConfigurateDao extends AbstractDao {
.map(bulkUpdate::apply)
.filter(Objects::nonNull)
.collect(Collectors.toSet());
if (!nodes.equals(results)) {
writeNodes(object, results);
saveFile(file, object);