Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlois <phil@p1sec.com>2015-12-17 09:40:36 +0300
committerPhilippe Langlois <phil@p1sec.com>2015-12-17 09:40:36 +0300
commitdfd666fd3d8bf56aacc5d6909cc1d0f7f2b008e2 (patch)
tree38aa259fd997b923edcd122c1258feb37e93347d /letsencrypt-auto
parentebfcd90d729c39b004b1ac851a6e1a37a4c092fe (diff)
Root prompt explanation + minor typos
Diffstat (limited to 'letsencrypt-auto')
-rwxr-xr-xletsencrypt-auto6
1 files changed, 3 insertions, 3 deletions
diff --git a/letsencrypt-auto b/letsencrypt-auto
index 44c71883c..aec1e81de 100755
--- a/letsencrypt-auto
+++ b/letsencrypt-auto
@@ -47,13 +47,13 @@ if test "`id -u`" -ne "0" ; then
args=""
# This `while` loop iterates over all parameters given to this function.
# For each parameter, all `'` will be replace by `'"'"'`, and the escaped string
- # will be wrap in a pair of `'`, then append to `$args` string
+ # will be wrapped in a pair of `'`, then appended to `$args` string
# For example, `echo "It's only 1\$\!"` will be escaped to:
# 'echo' 'It'"'"'s only 1$!'
# │ │└┼┘│
# │ │ │ └── `'s only 1$!'` the literal string
# │ │ └── `\"'\"` is a single quote (as a string)
- # │ └── `'It'`, to be concatenated with the strings followed it
+ # │ └── `'It'`, to be concatenated with the strings following it
# └── `echo` wrapped in a pair of `'`, it's totally fine for the shell command itself
while [ $# -ne 0 ]; do
args="$args'$(printf "%s" "$1" | sed -e "s/'/'\"'\"'/g")' "
@@ -201,5 +201,5 @@ fi
# Explain what's about to happen, for the benefit of those getting sudo
# password prompts...
-echo "Running with virtualenv:" $SUDO $VENV_BIN/letsencrypt "$@"
+echo "Requesting root privileges to run with virtualenv:" $SUDO $VENV_BIN/letsencrypt "$@"
$SUDO $VENV_BIN/letsencrypt "$@"