GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Unverified Commit f0818dd7 authored by Philipp Winter's avatar Philipp Winter
Browse files

Add missing error check.

parent bc0ed223
......@@ -73,7 +73,9 @@ func bootstrapTorOverBridge(bridgeLine string) error {
defer os.RemoveAll(tmpDir)
writeConfigToTorrc(tmpFh, tmpDir, bridgeLine)
if err = writeConfigToTorrc(tmpFh, tmpDir, bridgeLine); err != nil {
return err
// Terminate our process after one minute.
ctx, cancel := context.WithTimeout(context.Background(), TorBootstrapTimeout)
Markdown is supported
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