From 56e9775b53a7badac2b4472363ac40b0e09ecebb Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 30 Aug 2013 12:06:29 +0200 Subject: [PATCH] initrd.d: trivially update code style of quiet_kmsg and verbose_kmsg --- defaults/initrd.d/00-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.d/00-common.sh b/defaults/initrd.d/00-common.sh index 8947008..3211985 100755 --- a/defaults/initrd.d/00-common.sh +++ b/defaults/initrd.d/00-common.sh @@ -33,12 +33,12 @@ bad_msg() { quiet_kmsg() { # if QUIET is set make the kernel less chatty - [ -n "$QUIET" ] && echo '0' > /proc/sys/kernel/printk + [ -n "${QUIET}" ] && echo "0" > /proc/sys/kernel/printk } verbose_kmsg() { # if QUIET is set make the kernel less chatty - [ -n "$QUIET" ] && echo '6' > /proc/sys/kernel/printk + [ -n "${QUIET}" ] && echo "6" > /proc/sys/kernel/printk } test_success() {