summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-06-14 11:11:42 +0200
committerMichael Prokop <mika@debian.org>2010-06-14 11:11:42 +0200
commit2a8c9907b1095015e1d669d3cd895657936f6247 (patch)
tree729973be1eebf296ca270d6e070816bb111ce187 /mkinitramfs
parente65ee485d9d6f257e70231669a13e05cc45acbb3 (diff)
downloadinitramfs-tools-2a8c9907b1095015e1d669d3cd895657936f6247.tar.gz
initramfs-tools-2a8c9907b1095015e1d669d3cd895657936f6247.zip
hook-functions/mkinitramfs/update-initramfs: consequently output error messages to stderr
Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinitramfs b/mkinitramfs
index baf69dd..58e4c11 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -148,7 +148,7 @@ fi
[ "${compress}" = lzop ] && compress="lzop -9"
if [ -d "${outfile}" ]; then
- echo "${outfile} is a directory"
+ echo "${outfile} is a directory" >&2
exit 1
fi
@@ -266,7 +266,7 @@ if [ -n "${ROOT:-}" ]; then
fi
if ! command -v ldd >/dev/null 2>&1 ; then
- echo "WARNING: no ldd around - install libc-bin"
+ echo "WARNING: no ldd around - install libc-bin" >&2
exit 1
fi