mirror of https://github.com/perkeep/perkeep.git
devcam: print out temp dir on start-up
Change-Id: I7f84ffdecc5cb63baa931d5b5de8aca564970a67
This commit is contained in:
parent
cf388c2f2a
commit
efd51a08ed
|
@ -140,6 +140,7 @@ func (c *serverCmd) setCamliRoot() error {
|
|||
return errors.New("Could not get username from environment")
|
||||
}
|
||||
c.camliRoot = filepath.Join(os.TempDir(), "camliroot-"+user, "port"+c.port)
|
||||
log.Printf("Temp dir root is %v", c.camliRoot)
|
||||
if c.wipe {
|
||||
log.Printf("Wiping %v", c.camliRoot)
|
||||
if err := os.RemoveAll(c.camliRoot); err != nil {
|
||||
|
|
Loading…
Reference in New Issue