Skip to content

Commit

Permalink
Cleanup the heap dump add-on files as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScheererJ authored and michele-mancioppi committed Mar 19, 2018
1 parent f86e004 commit 2882f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf_cli_java_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (c *JavaPlugin) execute(commandExecutor cmd.CommandExecutor, uuidGenerator
// OpenJDK
remoteCommandTokens = append(remoteCommandTokens, "rm -f "+heapdumpFileName)
// SAP JVM
remoteCommandTokens = append(remoteCommandTokens, "if [ -n \"${HEAP_DUMP_NAME}\" ]; then rm -f ${HEAP_DUMP_NAME}; fi")
remoteCommandTokens = append(remoteCommandTokens, "if [ -n \"${HEAP_DUMP_NAME}\" ]; then rm -f ${HEAP_DUMP_NAME} ${HEAP_DUMP_NAME%.*}.addons; fi")
}
case threadDumpCommand:
// OpenJDK
Expand Down

0 comments on commit 2882f26

Please sign in to comment.