summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-11 18:51:56 +0200
committerJakob Unterwurzacher2015-10-11 18:51:56 +0200
commit242fcd0736313eaec17e3fa10f5f9a34b54164fb (patch)
treea02184a2865d760ebf6d3ded8e65ed55fbdd3484 /main.go
parentb00fc379c4d18ca848b5ded70549120755a509c4 (diff)
Run gofmtv0.2
Diffstat (limited to 'main.go')
-rw-r--r--main.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/main.go b/main.go
index d4ec227..5a9953e 100644
--- a/main.go
+++ b/main.go
@@ -24,14 +24,14 @@ const (
PROGRAM_NAME = "gocryptfs"
// Exit codes
- ERREXIT_USAGE = 1
- ERREXIT_NEWFS = 2
- ERREXIT_MOUNT = 3
- ERREXIT_SERVE = 4
- ERREXIT_CIPHERDIR = 6
- ERREXIT_INIT = 7
- ERREXIT_LOADCONF = 8
- ERREXIT_PASSWORD = 9
+ ERREXIT_USAGE = 1
+ ERREXIT_NEWFS = 2
+ ERREXIT_MOUNT = 3
+ ERREXIT_SERVE = 4
+ ERREXIT_CIPHERDIR = 6
+ ERREXIT_INIT = 7
+ ERREXIT_LOADCONF = 8
+ ERREXIT_PASSWORD = 9
ERREXIT_MOUNTPOINT = 10
)
@@ -81,7 +81,7 @@ func main() {
var cpuprofile = flag.String("cpuprofile", "", "Write cpu profile to specified file")
flag.Parse()
- if ! foreground {
+ if !foreground {
daemonize() // does not return
}
if *cpuprofile != "" {