X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Ftest-journal.c;h=39f4c167789d3cec08189e064b575b60696a71e4;hb=461b1822321d6be0d7fd8be29bf3b4993ebd1b85;hp=45ced12b46ef3ca89e8278003c10c8fca4399f0f;hpb=1e2579fdeb7608719cb28da0b5061f48ba0efc34;p=elogind.git diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index 45ced12b4..39f4c1677 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -6,22 +6,24 @@ Copyright 2011 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . ***/ #include #include +#include + #include "journal-file.h" #include "log.h" @@ -112,5 +114,7 @@ int main(int argc, char *argv[]) { journal_directory_vacuum(".", 3000000, 0); + log_error("Exiting..."); + return 0; }