"$@" might cause some uneccessary word breaking. --- modules.d/99base/dracut-lib.sh | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 5dc3fbd..e63f3f0 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -297,12 +297,12 @@ source_conf() { die() { { - echo "<24>dracut: FATAL: $@"; + echo "<24>dracut: FATAL: $*"; echo "<24>dracut: Refusing to continue"; } > /dev/kmsg { - echo "warn dracut: FATAL: \"$@\""; + echo "warn dracut: FATAL: \"$*\""; echo "warn dracut: Refusing to continue"; } >> $hookdir/emergency/01-die.sh @@ -327,25 +327,25 @@ if [ ! -x /lib/systemd/systemd ]; then warn() { check_quiet - echo "<28>dracut Warning: $@" > /dev/kmsg - echo "dracut Warning: $@" >&2 + echo "<28>dracut Warning: $*" > /dev/kmsg + echo "dracut Warning: $*" >&2 } info() { check_quiet - echo "<30>dracut: $@" > /dev/kmsg + echo "<30>dracut: $*" > /dev/kmsg [ "$DRACUT_QUIET" != "yes" ] && \ - echo "dracut: $@" + echo "dracut: $*" } else warn() { - echo "Warning: $@" >&2 + echo "Warning: $*" >&2 } info() { - echo "$@" + echo "$*" } fi @@ -827,7 +827,7 @@ emergency_shell() fi echo ; echo - warn $@ + warn "$*" source_hook "$hook" echo -- 1.7.8.6 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html