mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-08 00:04:06 +01:00
[fix] Add extra arg to printf instead of using echo
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user