mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
Do not print error in remote_daemon.c:main
There is no need to do that since both fallible functions do that already. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
9b652d5841
commit
cfb67c8cf4
@ -826,10 +826,8 @@ int main(int argc, char **argv) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (virGettextInitialize() < 0 ||
|
if (virGettextInitialize() < 0 ||
|
||||||
virInitialize() < 0) {
|
virInitialize() < 0)
|
||||||
fprintf(stderr, _("%s: initialization failed\n"), argv[0]);
|
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
|
||||||
|
|
||||||
virUpdateSelfLastChanged(argv[0]);
|
virUpdateSelfLastChanged(argv[0]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user