mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Remove temporary script file when it has been used
This commit is contained in:
parent
d1ce48c773
commit
86639f766d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user