From 6e74d497218be8f47ab7e547c5eb60e677612360 Mon Sep 17 00:00:00 2001
From: WindowsAddict <windowsaddict@protonmail.com>
Date: Fri, 23 May 2025 18:20:53 +0530
Subject: [PATCH] Minor fix

---
 MAS/All-In-One-Version-KL/MAS_AIO.cmd                | 3 ++-
 MAS/Separate-Files-Version/Change_Office_Edition.cmd | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
index e43bb90..a95d9e4 100644
--- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd
+++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
@@ -17943,6 +17943,7 @@ echo:
 set suggestchannel=
 
 if %errorcode% EQU 0 (
+if %change%==1 (
 echo %targetedition% | find /i "2019Volume" %nul% && (
 if not defined ltsc19 set suggestchannel=Production::LTSC
 if /i not %_AudienceData%==Production::LTSC set suggestchannel=Production::LTSC
@@ -17970,8 +17971,8 @@ if defined suggestchannel (
 call :dk_color %Gray% "Mismatch found in update channel and installed product."
 call :dk_color %Blue% "It is recommended to change the update channel to [!suggestchannel!] from the previous menu."
 )
-
 echo:
+)
 call :dk_color %Gray% "To activate Office, run the activation option from the main menu."
 ) else (
 set fixes=%fixes% %mas%troubleshoot
diff --git a/MAS/Separate-Files-Version/Change_Office_Edition.cmd b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
index a14988b..61c908a 100644
--- a/MAS/Separate-Files-Version/Change_Office_Edition.cmd
+++ b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
@@ -806,6 +806,7 @@ echo:
 set suggestchannel=
 
 if %errorcode% EQU 0 (
+if %change%==1 (
 echo %targetedition% | find /i "2019Volume" %nul% && (
 if not defined ltsc19 set suggestchannel=Production::LTSC
 if /i not %_AudienceData%==Production::LTSC set suggestchannel=Production::LTSC
@@ -833,8 +834,8 @@ if defined suggestchannel (
 call :dk_color %Gray% "Mismatch found in update channel and installed product."
 call :dk_color %Blue% "It is recommended to change the update channel to [!suggestchannel!] from the previous menu."
 )
-
 echo:
+)
 call :dk_color %Gray% "To activate Office, run the activation option from the main menu."
 ) else (
 set fixes=%fixes% %mas%troubleshoot