diff options
Diffstat (limited to 'src/main/Services/TaskSchedulerService.cs')
-rw-r--r-- | src/main/Services/TaskSchedulerService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Services/TaskSchedulerService.cs b/src/main/Services/TaskSchedulerService.cs index 59b95cc..e1f0a41 100644 --- a/src/main/Services/TaskSchedulerService.cs +++ b/src/main/Services/TaskSchedulerService.cs @@ -51,7 +51,7 @@ namespace PKISharp.WACS.Services if (existingTask != null) { - if (!_runLevel.HasFlag(RunLevel.Advanced) || !_input.PromptYesNo($"Do you want to replace the existing task?")) + if (!_runLevel.HasFlag(RunLevel.Advanced) || !_input.PromptYesNo($"Do you want to replace the existing task?", false)) return; _log.Information("Deleting existing task {taskName} from Windows Task Scheduler.", taskName); @@ -104,7 +104,7 @@ namespace PKISharp.WACS.Services { if (!_options.UseDefaultTaskUser && _runLevel.HasFlag(RunLevel.Advanced) && - _input.PromptYesNo($"Do you want to specify the user the task will run as?")) + _input.PromptYesNo($"Do you want to specify the user the task will run as?", false)) { // Ask for the login and password to allow the task to run var username = _input.RequestString("Enter the username (Domain\\username)"); |