Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks/archiso_pxe_nbd
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-07-16 15:49:23 +0300
committernl6720 <nl6720@gmail.com>2020-07-17 10:42:14 +0300
commitb40fb2ae53427e0fb14514e7929c02246ac298f0 (patch)
tree69fa3c66c86f1f787e8b179b169d921b15c85570 /archiso/initcpio/hooks/archiso_pxe_nbd
parent2993b80816be1b06f7bb57b500a47989ac3af0e9 (diff)
Separate custom comments from shellcheck comments
Having a shellcheck directive and custom comments in the same line can trigger SC1107 on old versions of shellcheck.
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_nbd')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nbd3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_nbd b/archiso/initcpio/hooks/archiso_pxe_nbd
index ce93080..4ccbcbf 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nbd
+++ b/archiso/initcpio/hooks/archiso_pxe_nbd
@@ -1,7 +1,8 @@
#!/bin/ash
run_earlyhook() {
- # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline()
+ # shellcheck disable=SC2154
+ # 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