mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 01:57:10 +00:00
commit
69e114c5c4
@ -55,8 +55,8 @@ func runDebug() error {
|
|||||||
|
|
||||||
if memProfilePath != "" {
|
if memProfilePath != "" {
|
||||||
prof = profile.Start(profile.Quiet, profile.MemProfile, profile.ProfilePath(memProfilePath))
|
prof = profile.Start(profile.Quiet, profile.MemProfile, profile.ProfilePath(memProfilePath))
|
||||||
} else if memProfilePath != "" {
|
} else if cpuProfilePath != "" {
|
||||||
prof = profile.Start(profile.Quiet, profile.CPUProfile, profile.ProfilePath(memProfilePath))
|
prof = profile.Start(profile.Quiet, profile.CPUProfile, profile.ProfilePath(cpuProfilePath))
|
||||||
}
|
}
|
||||||
|
|
||||||
if insecure {
|
if insecure {
|
||||||
|
Loading…
Reference in New Issue
Block a user