1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-02-21 12:19:27 +00:00

Remove temporary script file when it has been used

This commit is contained in:
Romein van Buren 2023-06-25 15:38:06 +02:00
parent d1ce48c773
commit 86639f766d
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -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
}