summaryrefslogtreecommitdiff
path: root/src/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsck.c')
-rw-r--r--src/fsck.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fsck.c b/src/fsck.c
index 0b0cf64036..702f22c95d 100644
--- a/src/fsck.c
+++ b/src/fsck.c
@@ -154,8 +154,10 @@ int main(int argc, char *argv[]) {
return 0;
/* FIXME: only execute necessary fsck's if no AC power present */
- if (on_ac_power() == 0)
+ if (on_ac_power() == 0) {
+ log_info("Running on battery power, skipping file system check.");
return 0;
+ }
}
cmdline[i++] = "/sbin/fsck";