summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-01 17:58:40 +0100
committerDave Reisner <dreisner@archlinux.org>2011-12-01 17:59:22 +0100
commit7effc762a2de2029ccedb659f25426c80b04cf4d (patch)
tree3473315ae784bcd4efdb84b8565b74fb0a63564e
parentf7b8a6f0fda9133b1c9f0c8a6ee95188670a819b (diff)
downloadmkinitcpio-7effc762a2de2029ccedb659f25426c80b04cf4d.tar.gz
mkinitcpio-7effc762a2de2029ccedb659f25426c80b04cf4d.tar.xz
init_functions: redirect poll_device output to stderr
Fixes FS#27385 Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--init_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions
index 69cd8fb..787b925 100644
--- a/init_functions
+++ b/init_functions
@@ -15,7 +15,7 @@ poll_device() {
[ -b "$device" ] && return 0
if [ "$udevd_running" -eq 1 ]; then
- msg "Waiting $seconds seconds for device $device ..."
+ msg "Waiting $seconds seconds for device $device ..." >&2
while [ ! -b "$device" -a "$seconds" -gt 0 ]; do
sleep 1
seconds=$(( $seconds - 1 ))