summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 30deb1e..f974e7b 100644
--- a/main.go
+++ b/main.go
@@ -8,6 +8,7 @@ import (
"path/filepath"
"time"
"encoding/hex"
+ "runtime"
"github.com/rfjakob/gocryptfs/cluefs_frontend"
"github.com/rfjakob/gocryptfs/pathfs_frontend"
@@ -63,6 +64,8 @@ func initDir(dirArg string) {
}
func main() {
+ runtime.GOMAXPROCS(4)
+
// Parse command line arguments
var debug, init, zerokey, fusedebug bool