diff options
| author | Jakob Unterwurzacher | 2021-06-20 18:25:07 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2021-06-20 18:25:07 +0200 | 
| commit | 203e65066fc1197427353eed3ae0a5108a1121ee (patch) | |
| tree | 866e5c91939453286b81ceb55b7897c1e4f398ef | |
| parent | 50630e9f3d7f649e41ab6f1102b40a1e4ec99686 (diff) | |
main: use JSONDump helper for debug output
| -rw-r--r-- | mount.go | 4 | 
1 files changed, 1 insertions, 3 deletions
| @@ -2,7 +2,6 @@ package main  import (  	"bytes" -	"encoding/json"  	"fmt"  	"log"  	"log/syslog" @@ -309,8 +308,7 @@ func initFuseFrontend(args *argContainer) (rootNode fs.InodeEmbedder, wipeKeys f  	if args.allow_other && os.Getuid() == 0 {  		frontendArgs.PreserveOwner = true  	} -	jsonBytes, _ := json.MarshalIndent(frontendArgs, "", "\t") -	tlog.Debug.Printf("frontendArgs: %s", string(jsonBytes)) +	tlog.Debug.Printf("frontendArgs: %s", tlog.JSONDump(frontendArgs))  	// Init crypto backend  	cCore := cryptocore.New(masterkey, cryptoBackend, contentenc.DefaultIVBits, args.hkdf, args.forcedecode) | 
