summaryrefslogtreecommitdiff
path: root/kernel/postinst.d
diff options
context:
space:
mode:
authorStephen Powell <zlinuxman@wowway.com>2010-07-02 08:05:28 +0200
committermaximilian attems <maks@debian.org>2010-07-08 15:09:03 +0200
commitff6116f97b557fd337993a8cc87403021e581325 (patch)
treeb1f860e5104b90fa3da45da2f8540e54741c9039 /kernel/postinst.d
parent09d251adb669002cbfcd5fd330e1c6471f6fc644 (diff)
downloadinitramfs-tools-ff6116f97b557fd337993a8cc87403021e581325.tar.gz
initramfs-tools-ff6116f97b557fd337993a8cc87403021e581325.zip
Redirect STDOUT to STDERR for post{inst,rm} hooks
Avoids output being swallowed by debconf's redirection of STDOUT. Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'kernel/postinst.d')
-rwxr-xr-xkernel/postinst.d/initramfs-tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools
index 5005ca4..d4db23d 100755
--- a/kernel/postinst.d/initramfs-tools
+++ b/kernel/postinst.d/initramfs-tools
@@ -28,4 +28,4 @@ if [ -n "$DEB_MAINT_PARAMS" ]; then
fi
# we're good - create initramfs. update runs do_bootloader
-update-initramfs -c -t -k "${version}" ${bootopt}
+update-initramfs -c -t -k "${version}" ${bootopt} >&2