summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 0c633c8..17df755 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -78,7 +78,7 @@ mysql_run_query() {
# a present query_file means there was an error
if [ -f "${query_stdin}" ]; then
>&2 printf 'I (%s) could not complete a mysql query:\n' \
- "$(hostname)"
+ "$(uname -n)"
>&2 sed 's/^/mysql< /' "${query_stdin}"
>&2 sed 's/^/mysql>2 /' "${query_stderr}"
files="${query_stdin} ${query_stdout} ${query_stderr}$(