error in /etc/init.d/checkroot.sh
Bug #35860 reported by
Andrea Garbarini
This bug report is a duplicate of:
Bug #28067: [PATCH] initscripts: checkroot.sh ignores fsck result.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
hello, please take a look at the checkroot.sh script, starting from line 252:
fsck $spinner $force $fix -T -t $roottype $rootdev
if [ "$?" = 0 ]
log_success_msg "Done checking root file system"
then
log_failure_msg "Done checking root file system"
fi
shouldn't that be:
fsck $spinner $force $fix -T -t $roottype $rootdev
if [ "$?" = 0 ]
then
log_success_msg "Done checking root file system"
else
log_failure_msg "Done checking root file system"
fi
I hope this helped, regards, andre
To post a comment you must log in.
Thanks for the bug report. This bug has already been reported.