diff --git a/ybd/__main__.py b/ybd/__main__.py index 2ec707d..90ff39c 100755 --- a/ybd/__main__.py +++ b/ybd/__main__.py @@ -60,7 +60,8 @@ defs.save_trees() if app.config.get('mode', 'normal') == 'keys-only': - print target['cache'] + with open('./ybd.result', 'w') as f: + f.write(target['cache'] +'\n') os._exit(0) sandbox.executor = sandboxlib.executor_for_platform()