From 5f5bf4e5600299ccc3042e0d19fb263ea24bbd1f Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Mon, 2 Mar 2015 19:25:55 +0000 Subject: quote in err msg --- openstack.configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack.configure b/openstack.configure index b50d2946..49e8cbd8 100644 --- a/openstack.configure +++ b/openstack.configure @@ -41,8 +41,8 @@ append_host() { ip="$1" hostname="$2" - if ! valid_ip "$ip"; then echo "ip, $ip" is malformed >&2; exit 1; fi - if ! valid_hostname "$hostname"; then echo "hostname, $hostname" is malformed >&2; exit 1; fi + if ! valid_ip "$ip"; then echo "ip, '$ip'" is malformed >&2; exit 1; fi + if ! valid_hostname "$hostname"; then echo "hostname, '$hostname'" is malformed >&2; exit 1; fi echo "$ip" "$hostname" >> /etc/hosts } -- cgit v1.2.1