From cfb67c8cf4237163627cf8947993b15d0ebcf4c0 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Mon, 20 Dec 2021 22:19:15 +0100 Subject: [PATCH] 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 Reviewed-by: Erik Skultety --- src/remote/remote_daemon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c index 8a4610da83..84157e6cc1 100644 --- a/src/remote/remote_daemon.c +++ b/src/remote/remote_daemon.c @@ -826,10 +826,8 @@ int main(int argc, char **argv) { }; if (virGettextInitialize() < 0 || - virInitialize() < 0) { - fprintf(stderr, _("%s: initialization failed\n"), argv[0]); + virInitialize() < 0) exit(EXIT_FAILURE); - } virUpdateSelfLastChanged(argv[0]);