]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1657] addressed comments
authorRazvan Becheriu <razvan@isc.org>
Mon, 22 Feb 2021 15:12:45 +0000 (17:12 +0200)
committerRazvan Becheriu <razvan@isc.org>
Mon, 22 Feb 2021 16:02:57 +0000 (16:02 +0000)
src/lib/asiolink/process_spawn.cc

index e47a8f069582a35568da06fbdf12aec39544d901..2f607182ec4bce9749dc2564fc9b7fa15306320c 100644 (file)
@@ -249,7 +249,7 @@ ProcessSpawnImpl::spawn(bool dismiss) {
 
     } else if (pid == 0) {
         // Run the executable.
-        execve(executable_.c_str(), args_.get(), vars_.get()) != 0);
+        execve(executable_.c_str(), args_.get(), vars_.get());
         // We may end up here if the execve failed, e.g. as a result
         // of issue with permissions or invalid executable name.
         _exit(EXIT_FAILURE);