mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
fix
This commit is contained in:
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…
x
Reference in New Issue
Block a user