GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

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