Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index f469a2e..103dfe0 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -49,7 +49,7 @@ mysql_run_query() {
< "${query_stdin}" \
> "${query_stdout}" \
2>> "${query_stderr}" \
- && rm "${query_stdin}" "${query_stderr}" "${query_stdout}"
+ && rm "${query_stdin}" "${query_stderr}"
if ! [ -f "${query_stdin}" ]; then
# success!
break
@@ -68,6 +68,7 @@ mysql_run_query() {
return 2
fi
cat "${query_stdout}"
+ rm "${query_stdout}"
}
# mysql_add_package_source $pkgbase $git_revision $mod_git_revision $upstream_package_repository