diff --git a/README.md b/README.md
index 6707f291fa5c37565524f15bd37adc74d4be9316..09f505dd90ba9f1f0e58deb73bb27b623c91ae42 100644
--- a/README.md
+++ b/README.md
@@ -128,7 +128,7 @@ void basic_logfile_example()
     catch (const spdlog::spdlog_ex &ex)
     {
         std::cout << "Log init failed: " << ex.what() << std::endl;
-        return 1;
+        return;
     }
 }
 ```