From: Lennart Poettering Date: Tue, 19 Oct 2010 19:22:47 +0000 (+0200) Subject: fsck: be verbose when skipping fsck due to missing AC X-Git-Tag: v12~205 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e33a44a01078ea0699dca160b93f0399fbc994b;p=systemd fsck: be verbose when skipping fsck due to missing AC --- diff --git a/src/fsck.c b/src/fsck.c index 0b0cf640..702f22c9 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";