Commit e462821e authored by Dennis Camera's avatar Dennis Camera

[__sensible_editor] Fix SC2028

parent 9567826d
......@@ -30,7 +30,7 @@ die() {
editor_missing() { die "Editor '$1' is missing on the target system."; }
editor_no_alternative() {
die "Editor '$1' is not in the alternatives list of the target system." \
"$(test "${editors}" && echo "\nPlease choose one of:\n\n${editors}")"
"$(test -n "${editors}" && printf '\nPlease choose one of:\n\n%s\n' "${editors}")"
}
# No need to check for the path if the file is supposed to be removed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment