[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #15297 [RPM packaging]: add an additional check in MULTI_INSTANCE mode for a more obvious error message
#15297: add an additional check in MULTI_INSTANCE mode for a more obvious error
message
---------------------------+------------------------
Reporter: cypherpunks | Owner: hiviah
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: RPM packaging | Version:
Keywords: | Actual Points:
Parent ID: | Points:
---------------------------+------------------------
If the user enabled multi_instance mode but didn't create /etc/tor/enabled
he gets a unclear error message about file "*".
This additional check should make it more obvious whats wrong.
Proposed chage:
Add the following check in line 210:
{{{
if ! ls $CONFDIR/*.torrc > /dev/null 2>&1
then
echo "torrc file(s) missing in $CONFDIR"
exit 1
fi
}}}
https://github.com/nusenu/tor-multi-instance-
initscripts/commit/f8c4b8bc53d803c09060e4f15b8118aad01e61e5
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15297>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs