From f40d21a80ffe8ef22f2c2962da4e8ff6869f6dcb Mon Sep 17 00:00:00 2001 From: alena Date: Mon, 13 Jun 2011 10:53:42 -0700 Subject: [PATCH] No need to tream "return" char twice --- setup/bindir/cloud-set-guest-password.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/bindir/cloud-set-guest-password.in b/setup/bindir/cloud-set-guest-password.in index be3a0effab6..a3f80d2ec0c 100755 --- a/setup/bindir/cloud-set-guest-password.in +++ b/setup/bindir/cloud-set-guest-password.in @@ -31,7 +31,7 @@ do if [ $? -eq 0 ] then logger -t "cloud" "Got response from server at $PASSWORD_SERVER_IP" - password=$(echo $password | tr -d '\r') + case $password in "") logger -t "cloud" "Password server at $PASSWORD_SERVER_IP did not have any password for the VM"