Skip to content

Commit

Permalink
check with pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 19, 2024
1 parent 02b0baf commit fcdc527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/rultor/agents/daemons/DismountDaemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

import com.jcabi.aspects.Immutable;
import com.jcabi.log.Logger;
import com.jcabi.ssh.Shell;
import com.jcabi.xml.XML;
import com.rultor.Time;
import com.rultor.agents.AbstractAgent;
Expand Down Expand Up @@ -87,7 +88,7 @@ public Iterable<Directive> process(final XML xml) throws IOException {
this, "Checking %s...",
DismountDaemon.host(xml)
);
new TalkShells(xml).get();
new Shell.Empty(new TalkShells(xml).get()).exec("pwd");
Logger.info(
this, "The host %s is alive",
DismountDaemon.host(xml)
Expand Down

0 comments on commit fcdc527

Please sign in to comment.