mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Update "should not run as root" message
Summary: These should be fine to land whenever. Test Plan: N/A Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14066
This commit is contained in:
parent
98a301a59b
commit
4626fb4ef0
1 changed files with 1 additions and 4 deletions
|
@ -132,10 +132,7 @@ abstract class PhabricatorAphlictManagementWorkflow
|
||||||
|
|
||||||
if (posix_getuid() == 0) {
|
if (posix_getuid() == 0) {
|
||||||
throw new PhutilArgumentUsageException(
|
throw new PhutilArgumentUsageException(
|
||||||
pht(
|
pht('The notification server should not be run as root.'));
|
||||||
// TODO: Update this message after a while.
|
|
||||||
'The notification server should not be run as root. It no '.
|
|
||||||
'longer requires access to privileged ports.'));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure we can write to the PID file.
|
// Make sure we can write to the PID file.
|
||||||
|
|
Loading…
Reference in a new issue