summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-25 17:04:33 +0200
committermaximilian attems <maks@debian.org>2006-08-25 17:04:33 +0200
commit45989c9f37db0ef23e984ea559f2da784a028366 (patch)
tree7412695c5971e3bf874ee972e06032edb038de39 /hook-functions
parentfabe918dee7da26d177d67d4aa8fe3fd6e83e513 (diff)
downloadinitramfs-tools-45989c9f37db0ef23e984ea559f2da784a028366.tar.gz
initramfs-tools-45989c9f37db0ef23e984ea559f2da784a028366.zip
- fix bashism
- rename mdadm.conf in mdrun.conf - retry nfsmount - harden init - fix lvm boot script prereqs
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index 08f396d..bfbe56a 100644
--- a/hook-functions
+++ b/hook-functions
@@ -48,7 +48,7 @@ manual_add_modules()
mkdir -p "${DESTDIR}/$(dirname "${mam_x}")"
ln -s "${mam_x}" "${DESTDIR}/$(dirname "${mam_x}")"
- if [ -n "${verbose}" -a "${verbose}" = "y" ]; then
+ if [ -n "${verbose}" ] && [ "${verbose}" = "y" ]; then
echo "Adding module ${mam_x}"
fi
done