[initscripts][PATCH] checkroot.sh: "Done checking root file system" is printed twice at boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
checkroot.sh (initscripts 2.86.ds1-6ubuntu9) prints "Done checking root file system" at boot twice. Once with a normal "*" and once with a red "*".
Looking at the script I assume there is a bug in the if-statement checking the return value from fsck.
The following patch fixed it for me:
--- checkroot.sh.orig 2006-02-14 17:01:56.020047191 +0100
+++ checkroot.sh 2006-02-15 18:42:37.759790884 +0100
@@ -250,8 +250,9 @@
if [ "$?" = 0 ]
- log_success_msg "Done checking root file system"
+ log_success_msg "Done checking root file system"
+ else
fi
Same patch as in previous comment.