Skip to content

Commit

Permalink
Do not clean cache in log command
Browse files Browse the repository at this point in the history
  • Loading branch information
bom-d-van committed Mar 16, 2016
1 parent dbcd745 commit 4fbe26f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions harp.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,11 @@ func main() {
}

if option.toTailLog {
if !option.keepCache {
if err := os.RemoveAll(tmpDir); err != nil {
exitf("os.RemoveAll(%s) error: %s", tmpDir, err)
}
}
// if !option.keepCache {
// if err := os.RemoveAll(tmpDir); err != nil {
// exitf("os.RemoveAll(%s) error: %s", tmpDir, err)
// }
// }
tailLog(servers, option.tailBeginLineNum)
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const version = 21
const version = 23

0 comments on commit 4fbe26f

Please sign in to comment.