Add log_error() to Docker inline script for DEB packaging
- Fix 'log_error: command not found' in DEB packaging stage - Docker run uses inline bash script with separate function definitions - Added log_error() after log_info() in Docker inline script (line 712) - Function executes inside container context where DEB packaging runs
This commit is contained in:
1 file changed
+4
@@ -709,6 +709,10 @@ log_info() {
|
|||||||
echo "[INFO] $*"
|
echo "[INFO] $*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_error() {
|
||||||
|
printf 'ERROR: %s\n' "$*" >&2
|
||||||
|
}
|
||||||
|
|
||||||
die() {
|
die() {
|
||||||
echo "[ERROR] $*" >&2
|
echo "[ERROR] $*" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in new issue
Block a user