summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-01 18:59:34 +0100
committerJakob Unterwurzacher2016-11-01 19:00:45 +0100
commitb527e205e231a7f0d5486b7593ba6b47cf09706d (patch)
tree2e726179e11397b16d151e4b61590723cf991d24 /main.go
parentd6678f73b41cef1f242ddd018c5c0c643b4595c3 (diff)
main: rename "-f" to "-fg"
"-f" looks too much like "--force". The old variant is still accepted for compatability.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3dc959f..c5fc3d7 100644
--- a/main.go
+++ b/main.go
@@ -126,7 +126,7 @@ func main() {
args := parseCliOpts()
// Fork a child into the background if "-f" is not set AND we are mounting
// a filesystem. The child will do all the work.
- if !args.foreground && flagSet.NArg() == 2 {
+ if !args.fg && flagSet.NArg() == 2 {
ret := forkChild()
os.Exit(ret)
}