mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
net-vpn/tor: Do not swallow tor checkconfig output
Closes: https://bugs.gentoo.org/674658 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -16,7 +16,7 @@ description_checkconfig="Check for valid config file"
|
||||
description_reload="Reload the configuration"
|
||||
|
||||
checkconfig() {
|
||||
${command} --verify-config --hush -f ${torrc} > /dev/null 2>&1
|
||||
${command} --verify-config --hush -f ${torrc}
|
||||
if [ $? -ne 0 ] ; then
|
||||
eerror "Tor configuration (${torrc}) is not valid."
|
||||
eerror "Example is in /etc/tor/torrc.sample"
|
||||
|
||||
Reference in New Issue
Block a user