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
......@@ -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):
if conf.getint('scanner', 'measurement_threads') < 1:
fail_hard('Number of measurement threads must be larger than 1')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment