Skip to content

Commit

Permalink
Merge pull request #143 from smccarthy/fix_reboot
Browse files Browse the repository at this point in the history
Add getLinuxCommand to RebootNode.
  • Loading branch information
smccarthy committed Jul 14, 2015
2 parents 22c2ce9 + f0ed53c commit ce30697
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,18 @@ public String getWindowsCommand(String param) {
}

@Override
public String getMacCommand() {
public String getLinuxCommand() {
return getLinuxCommand("");
}

@Override
public String getLinuxCommand(String param) {
logReboot();
return "shutdown -r now";
}

@Override
public String getMacCommand() {
return getMacCommand("");
}

Expand Down

0 comments on commit ce30697

Please sign in to comment.