summaryrefslogtreecommitdiff
path: root/init.d/fsck.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/fsck.in')
-rw-r--r--init.d/fsck.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 52a3467..66e5893 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -51,7 +51,7 @@ _on_ac_power()
"connected:"*"OFF") return 128;;
esac
done
- elif sysctl -q hw.acpi.acline >/dev/null; then
+ elif sysctl -q hw.acpi.acline >/dev/null 2>/dev/null; then
case $(sysctl -n hw.acpi.acline) in
0) return 1;;
*) return 0;;