Skip to content
Snippets Groups Projects
Commit 2c70e2fb authored by Christian Göttsche's avatar Christian Göttsche Committed by Kamil Dudka
Browse files

logrotate.c: switch output stream for version information from stderr to stdout

Closes #145
parent 8523cb35
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2603,7 +2603,7 @@ int main(int argc, const char **argv)
}
break;
case 'V':
fprintf(stderr, "logrotate %s\n", VERSION);
printf("logrotate %s\n", VERSION);
poptFreeContext(optCon);
exit(0);
default:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment