- SetUID uid = new SetUID();
- System.out.println(uid.setUid(-2, -2).getMessage());
+ if (connector.getPort() <= 1024
+ && !System.getProperty("os.name").toLowerCase().contains("win")) {
+ SetUID uid = new SetUID();
+ if (!uid.setUid(-2, -2).getSuccess()) {
+ Log.getLogger(Launcher.class).warn("Couldn't set uid!");
+ }
+ }