Commit 3c424b05 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Ensure the default name is used when no name is supplied

parent d13ef042
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -130,6 +130,8 @@ set_name() {
find_name() {
	local index=0

	[[ -v NAME ]] || NAME=$DEFAULT_NAME

	if [[ $(printf "${NAME}" 1) = $(printf "${NAME}" 2) ]]; then
		# No formatting marks in NAME
		set_name