• Scott Kuhl's avatar
    Make exit code indicate a problem when pidfile is not writable. · d6d11b24
    Scott Kuhl authored
    Here, we try to open the pidfile for writing prior to forking so that
    the exit code can properly indicate to the user that there was a
    problem. No error messages are printed to the console in this case
    because when --daemon implies --syslog. So, the syslog will contain
    the message indicating that the pidfile wasn't writeable.
    
    Fixes bug #598.
    d6d11b24
Name
Last commit
Last update
.github/workflows Loading commit data...
bin Loading commit data...
docs Loading commit data...
sshuttle Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.prospector.yml Loading commit data...
CHANGES.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
bandit.yml Loading commit data...
requirements-tests.txt Loading commit data...
requirements.txt Loading commit data...
run Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...