Skip to content

Commit

Permalink
Output functions: Allow multi-part input
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Sep 3, 2024
1 parent 1266d4e commit e2b9561
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ die() {
print "
Easy-RSA error:

$1${NL}"
$*${NL}"

# error_info is for hard-to-spot errors!
if [ "$error_info" ]; then
Expand All @@ -691,7 +691,7 @@ EasyRSA version $EASYRSA_version

Error
-----
$1${NL}"
$*${NL}"

easyrsa_exit_with_error=1
cleanup
Expand All @@ -700,7 +700,7 @@ $1${NL}"
# verbose information
verbose() {
[ "$EASYRSA_VERBOSE" ] || return 0
printf '%s\n' " # $*"
print " # $*"
} # => verbose()

# non-fatal warning output
Expand All @@ -709,7 +709,7 @@ warn() {
print "
WARNING
=======
$1${NL}"
$*${NL}"
} # => warn()

# informational notices to stdout
Expand All @@ -718,13 +718,13 @@ notice() {
print "
Notice
------
$1${NL}"
$*${NL}"
} # => notice()

# Helpful information
information() {
[ "$EASYRSA_SILENT" ] && return
print "$1"
print "$*"
} # => information()

# intent confirmation helper func
Expand Down

0 comments on commit e2b9561

Please sign in to comment.