diff options
author | Erich Eckner <git@eckner.net> | 2021-03-24 18:58:59 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-24 18:58:59 +0100 |
commit | f07c99d4f532cc02e1a285a701f580bb34900e37 (patch) | |
tree | 26c379eb2982d704d31795a0949727683b231b4b /lib/mysql-functions | |
parent | e7c1e50550978d408706488d36e75ced43d173b6 (diff) | |
download | builder-f07c99d4f532cc02e1a285a701f580bb34900e37.tar.xz |
`hostname` -> `uname -n`
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-x | lib/mysql-functions | 2 |
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}$( |