mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-06-28 05:25:11 +00:00
Remove temporary script file when it has been used
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user