Commit 7fa96673 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Operator happiness for the loopback binary.

parent 4690e804
......@@ -75,11 +75,14 @@ func main() {
debugFs.AddFileSystemConnector(conn)
}
mountPoint := flag.Arg(0)
fmt.Println("Mounting")
err := state.Mount(mountPoint)
if err != nil {
fmt.Printf("Mount fail: %v\n", err)
os.Exit(1)
}
fmt.Println("Mounted!")
state.Loop(*threaded)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment