mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-24 16:08:58 +02:00
Closes: https://github.com/gentoo/gentoo/pull/21451 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
11 lines
536 B
Diff
11 lines
536 B
Diff
--- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/UpdatesNotification.cs
|
|
+++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/UpdatesNotification.cs
|
|
@@ -395,7 +395,7 @@ namespace Microsoft.PowerShell
|
|
string str = Environment.GetEnvironmentVariable(UpdateCheckEnvVar);
|
|
if (string.IsNullOrEmpty(str))
|
|
{
|
|
- return NotificationType.Default;
|
|
+ return NotificationType.Off;
|
|
}
|
|
|
|
if (Enum.TryParse(str, ignoreCase: true, out NotificationType type))
|