diff --git a/modules/rename.sh b/modules/rename.sh index bcc77438e..2655c758e 100644 --- a/modules/rename.sh +++ b/modules/rename.sh @@ -9,7 +9,7 @@ function rename () { [[ ${#1} -gt "64" ]] || #Checks for length greater than 64 [ -z "$1" ]; #Checks if variable is empty then - echo "Unsuccessful: Make sure to remove special characters." + log_and_exit1 "Unsuccessful: Make sure to remove special characters." else CURRENT_HOSTNAME=$(< /etc/hostname tr -d " \\t\\n\\r") echo "$1" > /etc/hostname diff --git a/package.json b/package.json index 014c9c17b..0ad1056cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.25.52", + "version": "1.25.53", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",