summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Yelavich <luke.yelavich@canonical.com>2008-04-10 14:25:47 +0200
committermaximilian attems <maks@debian.org>2008-04-10 14:25:47 +0200
commit74be87d35841eae3c3febf00b568df5232c85f06 (patch)
treebf7e2bf71473d9663e03b356c1b990f3a96acfc5
parent6a4e2130950d3505bf664177747a6a11220f3460 (diff)
downloadinitramfs-tools-74be87d35841eae3c3febf00b568df5232c85f06.tar.gz
initramfs-tools-74be87d35841eae3c3febf00b568df5232c85f06.zip
init: Add 2>&1 to the run-init exec, fixes init without stderr.
long outstanding bug. [ note: seems fixed in fedora mkinitrd, but not in opensuse. they simply call run-init like anyone else. -maks]
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 70f4384..7f1d348 100755
--- a/init
+++ b/init
@@ -210,5 +210,5 @@ fi
# Chain to real filesystem
maybe_break init
-exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console
+exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1
panic "Could not execute run-init."