Skip to content

Commit 0b23218

Browse files
authored
Just a quick echo fix (#594)
Just a quick fix to echo statement to clean it up.
1 parent 42cc0cb commit 0b23218

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

bin/ghe-host-check

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ SKIP_MSG
176176
fi
177177

178178
#Display dir requirements for repositories and mysql
179-
echo -e "\n"
180-
echo "Checking host for sufficient space for a backup..."
179+
echo -e "\nChecking host for sufficient space for a backup..."
181180
available_space=$(df -B 1k $GHE_DATA_DIR | awk 'END{printf "%.0f", $4 * 1024}')
182181
echo " We recommend allocating at least 5x the amount of storage allocated to the primary GitHub appliance for historical snapshots and growth over time."
183182

@@ -194,8 +193,7 @@ SKIP_MSG
194193
recommended_disk_req=$((min_disk_req * 5))
195194
echo " - Available space: $((available_space / (1024 ** 2))) MB"
196195
echo " - Min Disk required for this backup is at least $min_disk_req MB"
197-
echo " - Recommended Disk requirement is $recommended_disk_req MB"
198-
echo -e "\n"
196+
echo -e " - Recommended Disk requirement is $recommended_disk_req MB\n"
199197

200198
printf '### Estimated Data Transfer Sizes
201199
@@ -263,5 +261,5 @@ SKIP_MSG
263261
echo " - jq ${jq_version} >= required ($min_jq)"
264262
fi
265263
fi
266-
echo -e "\n"
267-
echo "Connect $hostname:$port OK (v$version)"
264+
265+
echo -e "\nConnect $hostname:$port OK (v$version)"

0 commit comments

Comments
 (0)