mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 13:57:52 +00:00
Merge pull request #1517 from tlaurion/pass_debug_call_output_to_kmsg_one_line_at_a_time
BugFix: Pass debug call output to kmsg one line at a time
This commit is contained in:
commit
e1d972be37
@ -24,7 +24,9 @@ warn() {
|
||||
|
||||
DEBUG() {
|
||||
if [ "$CONFIG_DEBUG_OUTPUT" = "y" ];then
|
||||
echo "DEBUG: $*" | tee -a /tmp/debug.log /dev/kmsg > /dev/null;
|
||||
echo "DEBUG: $*" | while read line; do
|
||||
echo "$line" | tee -a /tmp/debug.log /dev/kmsg >/dev/null
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user