Fix odd return line in verbose mode
This commit is contained in:
parent
3cfa884a6f
commit
6bfe6eb9a7
|
@ -128,7 +128,7 @@ IS_RSYNC=1
|
||||||
# Verbose function
|
# Verbose function
|
||||||
verbose() {
|
verbose() {
|
||||||
msg="${1:-$(cat /dev/stdin)}"
|
msg="${1:-$(cat /dev/stdin)}"
|
||||||
[ "${VERBOSE}" -eq 1 ] && echo "${msg}"
|
[ "${VERBOSE}" -eq 1 ] && [ -n "${msg}" ] && echo "${msg}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Source configuration file
|
# Source configuration file
|
||||||
|
|
Loading…
Reference in a new issue