]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Do not print error in remote_daemon.c:main
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 20 Dec 2021 21:19:15 +0000 (22:19 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 5 Jan 2022 13:08:41 +0000 (14:08 +0100)
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>
src/remote/remote_daemon.c

index 8a4610da83c8aae143ecfe88e3ee5b2fa8d5f0a7..84157e6cc19afdfb40cc9c01a88f258fb787544c 100644 (file)
@@ -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]);