From dff9a66c44db384697801bd2d3b8af00ca6823cb Mon Sep 17 00:00:00 2001 From: "dyoung@redhat.com" Date: Wed, 13 Mar 2013 15:59:24 +0800 Subject: [PATCH] print memdebug to stderr memory usage tracing outputs are debug info, so it should be moved to stderr instead of stdout. Signed-off-by: Dave Young --- modules.d/99base/dracut-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index d4d1e77..e456b01 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -1041,7 +1041,7 @@ make_trace_mem() msg="$1" shift if [ -n "$DEBUG_MEM_LEVEL" ] && [ "$DEBUG_MEM_LEVEL" -gt 0 ]; then - make_trace show_memstats $DEBUG_MEM_LEVEL "[debug_mem]" "$msg" "$@" + make_trace show_memstats $DEBUG_MEM_LEVEL "[debug_mem]" "$msg" "$@" >&2 fi }