From 32095707ecee641f858a2840816f877ecbd80439 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 3 Dec 2014 18:45:25 +0000 Subject: [PATCH] replace blank line whitespaces from scripts Change-Id: I16961f1efa5fcaf067ba688e1244c00d22b54a6e Closes-Bug: 1398930 --- scripts/cloudserver-aio.sh | 18 +++++++++--------- scripts/maas_remove.sh | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/cloudserver-aio.sh b/scripts/cloudserver-aio.sh index b5b5bb0dfe..45f8d389c2 100755 --- a/scripts/cloudserver-aio.sh +++ b/scripts/cloudserver-aio.sh @@ -43,12 +43,12 @@ function successerator() { RETRY=0 # Set the initial return value to failure false - + while [ $? -ne 0 -a ${RETRY} -lt ${MAX_RETRIES} ];do RETRY=$((${RETRY}+1)) $@ done - + if [ ${RETRY} -eq ${MAX_RETRIES} ];then echo "Hit maximum number of retries, giving up..." exit 1 @@ -64,8 +64,8 @@ function install_bits() { if [ ! -d "/opt" ];then mkdir /opt fi - - + + if [ ! "$(swapon -s | grep -v Filename)" ];then cat > /opt/swap.sh <