diff options
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r-- | src/readahead-collect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c index e93f4fe527..937231ca42 100644 --- a/src/readahead-collect.c +++ b/src/readahead-collect.c @@ -437,11 +437,12 @@ finish: } int main(int argc, char *argv[]) { + log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); log_parse_environment(); log_open(); - if (collect("/") < 0) + if (collect(argc >= 2 ? argv[1] : "/") < 0) return 1; return 0; |