The update-iso.sh utility references an undefined log_error function.
As a result, error messages are not properly reported, instead
resulting in messages such as:
stx-iso-utils.sh: line 53: log_error: command not found
This update defines a log_error function for update-iso.sh that writes
the message to stderr, as this is a user-run utility, so no need to
log to syslog.
Change-Id: Ifdc2a25c24cd86e61ccc12601a0bcbe6888ac349
Closes-Bug: 1895042
Signed-off-by: Don Penney <email address hidden>
Reviewed: https:/ /review. opendev. org/750803 /git.openstack. org/cgit/ starlingx/ utilities/ commit/ ?id=6573fbe80c0 4e7cf85c46238c5 08aff1f2a04454
Committed: https:/
Submitter: Zuul
Branch: master
commit 6573fbe80c04e7c f85c46238c508af f1f2a04454
Author: Don Penney <email address hidden>
Date: Wed Sep 9 15:27:51 2020 -0400
Fix missing log_error in update-iso.sh
The update-iso.sh utility references an undefined log_error function. iso-utils. sh: line 53: log_error: command not found
As a result, error messages are not properly reported, instead
resulting in messages such as:
stx-
This error was introduced by code restructuring in a previous update: /review. opendev. org/707673
https:/
This update defines a log_error function for update-iso.sh that writes
the message to stderr, as this is a user-run utility, so no need to
log to syslog.
Change-Id: Ifdc2a25c24cd86 e61ccc12601a0bc be6888ac349
Closes-Bug: 1895042
Signed-off-by: Don Penney <email address hidden>