diff options
author | Luke Yelavich <luke.yelavich@canonical.com> | 2008-04-10 14:25:47 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-04-10 14:25:47 +0200 |
commit | 74be87d35841eae3c3febf00b568df5232c85f06 (patch) | |
tree | bf7e2bf71473d9663e03b356c1b990f3a96acfc5 | |
parent | 6a4e2130950d3505bf664177747a6a11220f3460 (diff) | |
download | initramfs-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-x | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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." |