aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-22 13:46:53 +0000
committerRoy Marples <roy@marples.name>2008-04-22 13:46:53 +0000
commit2bda1871a19faf6c7d05b2f925a82f2eb0f323b0 (patch)
tree607fcfe8e84909215e82f20c8c081711d7146d1c
parentd3b111bd5831bc1153a7a42f553d92355495e2c3 (diff)
When fsck_passno is set, show this so output is clearer when fsck is multiplexed, Gentoo #218141.
-rw-r--r--init.d/fsck.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 3eeba63c..6ba430ff 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -38,6 +38,9 @@ start()
check_extra="(check forced)"
fi
+ if [ -n "${fsck_passno}" ]; then
+ check_extra="[passno ${fsck_passno}] ${check_extra}"
+ fi
ebegin "Checking local filesystems ${check_extra}"
for p in ${fsck_passno}; do
local IFS="${_IFS}"