Ensure both logger and syslogd output the same version string
Slight differences in output when called with `-v` flag: - Should output to stdout, that's what people expect (not an error) - Should output *project* name and version, for syslogd this is not so obvious since it *logs* 'syslogd vx.y.z' while the version is 'sysklogd vx.y.z' Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -366,7 +366,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'v': /* version */
|
||||
fprintf(stderr, "%s\n", version_info);
|
||||
printf("%s\n", version_info);
|
||||
return 0;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user