[fix] Add extra arg to printf instead of using echo

This commit is contained in:
William Wernert
2021-01-12 11:01:25 -05:00
parent ef7a934b9d
commit 332c6877b8

View File

@@ -21,6 +21,9 @@ if [ "$(id -u)" -ne 0 ]; then
exit 1
fi
# Define a banner to separate sections
banner="========================================================================="
add_interface_bond0() {
local BNIC=$1
if [[ -z $MTU ]]; then
@@ -68,12 +71,8 @@ add_interface_bond0() {
fi
}
# Define a banner to separate sections
banner="========================================================================="
header() {
echo
printf '%s\n' "$banner" "$*" "$banner"
printf '%s\n' "" "$banner" " $*" "$banner"
}
lookup_salt_value() {