aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-06-08 18:50:00 +0200
committerThomas Bächler <thomas@archlinux.org>2010-06-08 18:50:00 +0200
commit78f148879c136227714dd88ad15fcf0481ddaca6 (patch)
tree8d25d887c4e56573d4125d951686c3555ee99311 /rc.sysinit
parent6f13112608762a4b6e26642c3feec441c6193b99 (diff)
downloadinitscripts-78f148879c136227714dd88ad15fcf0481ddaca6.tar.xz
Do not redirect the standard error of fsck to /dev/null by default
This sets FSCK_STDERR to /dev/stdout, but still makes it possible to override this behaviour in a hook.
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 1ded612..61b04c9 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -249,7 +249,7 @@ fsck_reboot() {
if [ -x /sbin/fsck ]; then
stat_busy "Checking Filesystems"
FSCK_OUT=/dev/stdout
- FSCK_ERR=/dev/null
+ FSCK_ERR=/dev/stdout
FSCK_FD=
run_hook sysinit_prefsck
/sbin/fsck -A -T -C$FSCK_FD -a -t "$NETFS,noopts=_netdev" $FORCEFSCK >$FSCK_OUT 2>$FSCK_ERR