Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

cleanloot throws an error if no loot exists #12

Closed
MaStr opened this Issue · 0 comments

2 participants

@MaStr

Running cleanloot without loot-folder causes an Error:

Traceback (most recent call last):
File "/opt/forban/bin/forbanctl", line 189, in
deleteloots()
File "/opt/forban/bin/forbanctl", line 105, in deleteloots
for dirs in os.listdir(lootpath):
OSError: [Errno 2] No such file or directory: '/opt/forban/var/loot'

A message: "No loot found" - would be better (like cleaning PIDs)

@adulau adulau closed this in d73868d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.