Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso_pxe_nbd
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-07-31 17:42:53 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-07-31 17:42:53 +0200
commitaef9c535e7de91a7a535c7500a8ab4583d443a57 (patch)
tree5ad445e3e00173c59cfcc3d26375b59a6be05b70 /hooks/archiso_pxe_nbd
parenta5f57c2bfa3f7b380f572b4e86845113d6b9ef15 (diff)
parent2dabc0d2479d1866d072c7559ef95d6e1b217934 (diff)
Merge branch 'issues/4'
* issues/4: Add shfmt to check target Fix formatting with shfmt
Diffstat (limited to 'hooks/archiso_pxe_nbd')
-rw-r--r--hooks/archiso_pxe_nbd4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/archiso_pxe_nbd b/hooks/archiso_pxe_nbd
index 8ac44e7..2e363d9 100644
--- a/hooks/archiso_pxe_nbd
+++ b/hooks/archiso_pxe_nbd
@@ -7,7 +7,7 @@ run_earlyhook() {
# defined via initcpio's parse_cmdline()
if [ -n "${ip}" ] && [ -n "${archiso_nbd_srv}" ]; then
# Module autoloading like with loop devices does not work, doing manually...
- modprobe nbd 2> /dev/null
+ modprobe nbd 2>/dev/null
fi
}
@@ -21,7 +21,7 @@ run_hook() {
fi
}
-archiso_pxe_nbd_mount_handler () {
+archiso_pxe_nbd_mount_handler() {
newroot="${1}"
msg ":: Waiting for boot device..."