This commit is contained in:
Michael H.G. Schmidt 2021-03-28 00:49:42 +01:00
parent 10a8ab3bbf
commit 031fd6892a
2 changed files with 2 additions and 7 deletions

View File

@ -28,11 +28,6 @@ for %%S in (
finish-boot.cmd
export-image.cmd
IF %ERRORLEVEL% NEQ 0 (
echo ERROR while exporting image
exit /b
)
mount-image.cmd
remove-apps.cmd
remove-packages.cmd

View File

@ -29,7 +29,7 @@ set DISK=
)
diskpart /s %DPARTSCRIPT% 1>nul 2>nul
if %errorlevel% EQU 0 (
if %ERRORLEVEL% EQU 0 (
echo OK using disk %DISK%
GOTO CONT1
) else (
@ -75,7 +75,7 @@ rem =====
)
diskpart /s %DPARTSCRIPT% 1>nul 2>nul
if %errorlevel% NEQ 0 (
if %ERRORLEVEL% NEQ 0 (
echo ERROR: while formatting the disk!
del /F %DPARTSCRIPT% 1>nul 2>nul
exit /b