mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 18:56:55 +02:00
Respect --quiet when reporting sudo invocation
This commit is contained in:
@@ -195,7 +195,7 @@ if [ "$1" = "--cb-auto-has-root" ]; then
|
|||||||
else
|
else
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
say "Requesting to rerun $0 with root privileges..."
|
||||||
$SUDO "$0" --cb-auto-has-root "$@"
|
$SUDO "$0" --cb-auto-has-root "$@"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ if [ "$1" = "--cb-auto-has-root" ]; then
|
|||||||
else
|
else
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
say "Requesting to rerun $0 with root privileges..."
|
||||||
$SUDO "$0" --cb-auto-has-root "$@"
|
$SUDO "$0" --cb-auto-has-root "$@"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user