mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Glob ensures the file exists so only a check that a missing dangling
symlink needs to be done.
$ ls -la /tmp/f2b-tempq0ipGY/f2
lrwxrwxrwx. 1 dan dan 11 Dec 12 08:42 /tmp/f2b-tempq0ipGY/f2 ->
xisting
In [3]: os.path.exists('/tmp/f2b-tempq0ipGY/f2')
Out[3]: False
In [4]: os.path.lexists('/tmp/f2b-tempq0ipGY/f2')
Out[4]: True
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| actionreader.py | ||
| beautifier.py | ||
| configparserinc.py | ||
| configreader.py | ||
| configurator.py | ||
| csocket.py | ||
| fail2banreader.py | ||
| filterreader.py | ||
| jailreader.py | ||
| jailsreader.py | ||