projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d44af
)
Improve failed to create swap message
author
Jeff Atwood
<jatwood@codinghorror.com>
Wed, 3 Jan 2018 08:01:42 +0000
(
00:01
-0800)
committer
GitHub
<noreply@github.com>
Wed, 3 Jan 2018 08:01:42 +0000
(
00:01
-0800)
discourse-setup
patch
|
blob
|
blame
|
history
diff --git
a/discourse-setup
b/discourse-setup
index 8999b95e4366d8d6ac6bef11afa6ebbd11eb8c8f..f31231f5e6deae1eeec529992b26107cf93b0d23 100755
(executable)
--- a/
discourse-setup
+++ b/
discourse-setup
@@
-146,7
+146,7
@@
check_disk_and_memory() {
total_swap=`free -g --si | awk ' /Swap:/ {print $2} '`
if [ "$total_swap" -lt 2 ]; then
- echo "Failed to create swap
, sorry!
"
+ echo "Failed to create swap
: are you root? Are you running on real hardware, or a fully virtualized server?
"
exit 1
fi