Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cretz/bine
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Jan 17, 2019
2 parents 7266940 + 62912bf commit 452e22d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion process/embedded/tor-0.3.5/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/xz/dist/lib -llzma
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/zlib/dist/lib -lz
#cgo LDFLAGS: -L${SRCDIR}/../../../../tor-static/openssl/dist/lib -lssl -lcrypto
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32 -liphlpapi
#cgo windows LDFLAGS: -lws2_32 -lcrypt32 -lgdi32 -liphlpapi -Wl,-Bstatic -lpthread
#cgo !windows LDFLAGS: -lm
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion tor/tor.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func Start(ctx context.Context, conf *StartConf) (*Tor, error) {
}
tor.Debugf("Created temp data directory at: %v", tor.DataDir)
tor.DeleteDataDirOnClose = !conf.RetainTempDataDir
} else if err := os.MkdirAll(tor.DataDir, 0600); err != nil {
} else if err := os.MkdirAll(tor.DataDir, 0700); err != nil {
return nil, fmt.Errorf("Unable to create data dir: %v", err)
}

Expand Down

0 comments on commit 452e22d

Please sign in to comment.