Skip to content

Commit

Permalink
pppd: Print version information to stdout instead of stderr (#133)
Browse files Browse the repository at this point in the history
This makes it easier for scripts to parse the output if necessary

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
  • Loading branch information
Lars Wendler committed Mar 21, 2020
1 parent cba2736 commit 6b014be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pppd/options.c
Expand Up @@ -1093,7 +1093,7 @@ showversion(argv)
char **argv;
{
if (phase == PHASE_INITIALIZE) {
fprintf(stderr, "pppd version %s\n", VERSION);
fprintf(stdout, "pppd version %s\n", VERSION);
exit(0);
}
return 0;
Expand Down

0 comments on commit 6b014be

Please sign in to comment.