Check exit code of ent

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent 09b6605a99
commit 221252895c
  1. 5
      archive/src/main/kotlin/org/openrs2/archive/key/EntCommand.kt

@ -27,6 +27,11 @@ public class EntCommand : CliktCommand(name = "ent") {
out.writeInt(key.k3)
}
}
val status = process.waitFor()
if (status != 0) {
throw Exception("ent failed: $status")
}
}
}
}

Loading…
Cancel
Save