Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8e0f2e5ed | ||
|
|
23631884dd |
No files matched your search
+2
-1
@@ -65,7 +65,8 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
|||||||
}
|
}
|
||||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
$null = cmd /c "docker info >NUL 2>&1"
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -65,7 +65,8 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
|||||||
}
|
}
|
||||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
$null = cmd /c "docker info >NUL 2>&1"
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
|||||||
}
|
}
|
||||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
$null = cmd /c "docker info >NUL 2>&1"
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
|||||||
}
|
}
|
||||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
$null = cmd /c "docker info >NUL 2>&1"
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user