Skip to content

Commit b34552c

Browse files
committed
fixing default logoff message
1 parent 3dd039f commit b34552c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceManagement/RemoteApp/Commands.RemoteApp/Vm/RestartAzureRemoteAppVm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public override void ExecuteCmdlet()
122122

123123
restartDetails = new RestartVmCommandParameter(vm.VirtualMachineName);
124124
restartDetails.LogoffWaitTimeInSeconds = LogoffWaitSeconds <= 0 ? 60 : LogoffWaitSeconds;
125-
restartDetails.LogoffMessage = string.IsNullOrEmpty(LogoffMessage) ? string.Format(Commands_RemoteApp.DefaultLogoffMessage, LogoffWaitSeconds) : LogoffMessage;
125+
restartDetails.LogoffMessage = string.IsNullOrEmpty(LogoffMessage) ? string.Format(Commands_RemoteApp.DefaultLogoffMessage, restartDetails.LogoffWaitTimeInSeconds) : LogoffMessage;
126126

127127
result = CallClient(() => Client.Collections.RestartVm(CollectionName, restartDetails), Client.Collections);
128128

0 commit comments

Comments
 (0)