beautysh: re-format
beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.
Change-Id: Ib1e9ab2fa4867e4f89401c97e3e4694fa3ea6765
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/firstboot/first-boot-set-hostname.sh b/firstboot/first-boot-set-hostname.sh
index c238962..51d2f04 100644
--- a/firstboot/first-boot-set-hostname.sh
+++ b/firstboot/first-boot-set-hostname.sh
@@ -1,6 +1,6 @@
#!/bin/bash -eu
-show_error() {
+function show_error() {
if [ -n "${JOURNAL_STREAM-}" ]; then
echo "$@" | systemd-cat -t first-boot-set-hostname -p emerg
else
@@ -8,7 +8,7 @@
fi
}
-sync_hostname() {
+function sync_hostname() {
MAPPER_IFACE='xyz.openbmc_project.ObjectMapper'
MAPPER_PATH='/xyz/openbmc_project/object_mapper'
INVENTORY_PATH='/xyz/openbmc_project/inventory'