Skip to content

Commit

Permalink
safely remove
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 19, 2024
1 parent 29eb3af commit e928119
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/rultor/agents/daemons/DismountDaemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Iterable<Directive> process(final XML xml) throws IOException {
);
dirs.append(
new Directives()
.xpath("/talk/daemon/ended").remove()
.xpath("/talk/daemon/code").remove()
.xpath("/talk/daemon/tail").remove()
.xpath("/talk/daemon")
.strict(1)
.add("ended").set(new Time().iso()).up()
Expand Down

0 comments on commit e928119

Please sign in to comment.