Skip to content
Snippets Groups Projects
Commit d6e44d30 authored by juga's avatar juga
Browse files

Stop using function that makes disk system call

since some systems might not allow it.
parent 0da51525
Branches
Tags
No related merge requests found
......@@ -21,8 +21,6 @@ import logging
import requests
import random
from ..util.fs import is_low_space
rng = random.SystemRandom()
end_event = Event()
......@@ -371,9 +369,6 @@ def gen_parser(sub):
def main(args, conf):
if is_low_space(conf):
exit(1)
if conf.getint('scanner', 'measurement_threads') < 1:
fail_hard('Number of measurement threads must be larger than 1')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment