if (retryCounter > 0) {
LOG.warn("Assuming that netconf write-transaction failed, restarting ...", e.getMessage());
return write(mountpoint, command, --retryCounter);</BUG>
} else {
<BUG>LOG.warn("Netconf write-transaction failed. Maximal number of attempts reached", e.getMessage());

return false;
}
} catch (Exception e) {
LOG.warn("Exception while writing data ...", e.getMessage());</BUG>
return false;

if (retryCounter > 0) {
LOG.warn("Netconf WRITE transaction failed to {}. Restarting transaction ... ", e.getMessage());
return write(mountpoint, command, --retryCounter);
} else {
LOG.warn("Netconf WRITE transaction unsuccessful. Maximal number of attempts reached. Trace: {}", e);
return false;
