diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2017-11-02 22:51:34 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2017-11-02 22:51:34 +0100 |
commit | 14dda28537079e652c2891a08af11f74acfca545 (patch) | |
tree | a301af11d2b996ecabdcc062a6f335edd3bd9b17 /miniircd | |
parent | 3ee302c638a66b78ab1715be99c5cc0f0d7ae789 (diff) | |
download | miniircd-14dda28537079e652c2891a08af11f74acfca545.tar.gz miniircd-14dda28537079e652c2891a08af11f74acfca545.zip |
Fix pep8 warning
Diffstat (limited to 'miniircd')
-rwxr-xr-x | miniircd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1043,8 +1043,8 @@ def main(argv): else: op.error("Specify a user, or user and group separated by a colon," " e.g. --setuid daemon, --setuid nobody:nobody") - if os.name == "posix" and \ - (os.getuid() == 0 or os.getgid() == 0) and not options.setuid: + if os.name == "posix" \ + and (os.getuid() == 0 or os.getgid() == 0) and not options.setuid: op.error("Running this service as root is not recommended. Use the" " --setuid option to switch to an unprivileged account after" " startup. If you really intend to run as root, use" |