fix
parent
7ced2986af
commit
b308913d9e
|
@ -31,6 +31,9 @@ namespace NetworkResurrector.Agent.Application.Services.Windows
|
|||
|
||||
private string SetOptions(string arguments, PowerOptions options)
|
||||
{
|
||||
if (options == null)
|
||||
options = new PowerOptions(null, false);
|
||||
|
||||
if (options.Force)
|
||||
arguments = $"{arguments} -f";
|
||||
|
||||
|
|
|
@ -7,6 +7,5 @@ namespace NetworkResurrector.Agent.PublishedLanguage.Commands
|
|||
public class Lock : Command<LockResult>
|
||||
{
|
||||
public ActionOwner Owner { get; set; }
|
||||
public ActionOptions Options { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue