diff --git a/internal/app/host_shell.go b/internal/app/host_shell.go index b1609ab..9b27c07 100644 --- a/internal/app/host_shell.go +++ b/internal/app/host_shell.go @@ -99,6 +99,7 @@ func (a *App) ExecuteShellScript(hostKey, dbKey, collKey, script string) (result result.Status = 0 } + os.Remove(fname) result.Output = string(stdout) return }