diff --git a/examples/ino2path/main.go b/examples/ino2path/main.go index 71c42a8..2e43fcf 100644 --- a/examples/ino2path/main.go +++ b/examples/ino2path/main.go @@ -33,5 +33,9 @@ func main() { } s, err := scoutfs.InoToPath(f, u) + if err != nil { + log.Fatalln("error inode to path:", err) + } + fmt.Println(s) }