devcam: print out temp dir on start-up

Change-Id: I7f84ffdecc5cb63baa931d5b5de8aca564970a67
This commit is contained in:
Brad Fitzpatrick 2013-11-24 17:11:06 -08:00
parent cf388c2f2a
commit efd51a08ed
1 changed files with 1 additions and 0 deletions

View File

@ -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 {