summaryrefslogtreecommitdiff
path: root/race.go
diff options
context:
space:
mode:
Diffstat (limited to 'race.go')
-rw-r--r--race.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/race.go b/race.go
new file mode 100644
index 0000000..a17501a
--- /dev/null
+++ b/race.go
@@ -0,0 +1,8 @@
+// +build race
+
+package main
+
+func init() {
+ // adds " -race" to the output of "gocryptfs -version"
+ raceDetector = true
+}