if (exitStatus == 0) {
String response = "";
String error = "";
response = er.getOutString();
error = er.getErrString();
<BUG>if (response.equals(""))

LOG.debug("{} returned no output", script);
if (!error.equals(""))

LOG.debug("{} error = {}", script, error);
if (regex == null || regex.match(response)) {
</BUG>
LOG.debug("isServer: matching response = {}", response);

if (exitStatus == 0) {
String response = "";
String error = "";
response = er.getOutString();
error = er.getErrString();
if (response.equals("")) {
LOG.debug("{} returned no output", script);
}
if (!error.equals("")) {
LOG.debug("{} error = {}", script, error);
}
if (regex == null || regex.matcher(response).find()) {
LOG.debug("isServer: matching response = {}", response);
