diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-19 21:22:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-19 21:22:47 +0200 |
commit | 3e33a44a01078ea0699dca160b93f0399fbc994b (patch) | |
tree | fe3ff5da9e6ae17c49ade1e7296f20a189a3d471 /src | |
parent | 3d20ed6d51e38968cd646e2b3b24f36673408024 (diff) |
fsck: be verbose when skipping fsck due to missing AC
Diffstat (limited to 'src')
-rw-r--r-- | src/fsck.c | 4 |
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"; |