Commit 666689ad authored by aagbsn's avatar aagbsn
Browse files

Create scan-data directories if they do not exist.

Fixes #13663.

Thanks to micah for reporting this issue.
parent 6e9fed92
......@@ -296,6 +296,11 @@ def main(argv):
min_streams,pid_file_name,db_url) = read_config(argv[1])
# make sure necessary out_dir directory exists
path = os.getcwd()+'/'+out_dir
if not os.path.exists(path):
if pid_file_name:
pidfd = file(pid_file_name, 'w')
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