From a607a631078aceb72cffc089d15f37278d1342dc Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 17 Jan 2015 16:37:15 +0300 Subject: [PATCH] Code cleanup, thx to http://www.shellcheck.net --- rc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.in b/rc.in index a7aec2b..89434f6 100755 --- a/rc.in +++ b/rc.in @@ -20,7 +20,7 @@ rc.rescue() { exec "${cfg_rc_rescue_shell:-"$SHELL"}"; } rc.motd() { [[ -f "/etc/rc.motd" ]] && { while read; do - printf "$REPLY\n" + printf "%s\n" "$REPLY" done < "/etc/rc.motd" } @@ -166,7 +166,7 @@ rc.main() { case "$action" in boot) - echo "Welcome to `uname -rs`" + echo "Welcome to $(uname -rs)" rc.boot ;;