Remove unnecessary isRegistered checks

This commit is contained in:
AsamK 2021-01-15 12:21:19 +01:00
parent cc40c437d1
commit fc76c9badf
2 changed files with 0 additions and 10 deletions

View file

@ -27,11 +27,6 @@ public class UpdateGroupCommand implements DbusCommand {
@Override
public int handleCommand(final Namespace ns, final Signal signal) {
if (!signal.isRegistered()) {
System.err.println("User is not registered.");
return 1;
}
byte[] groupId = null;
if (ns.getString("group") != null) {
try {