]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
snap
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 7 Dec 2025 21:01:03 +0000 (16:01 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Sun, 7 Dec 2025 21:01:03 +0000 (16:01 -0500)
src/stackprof.cxx

index 8f14b5b1b87eff9012706fa70f489c52748c47b7..1a43969f8f605abf813c01a9b2351af8d9b0e419 100644 (file)
@@ -250,7 +250,8 @@ main (int argc, char *argv[])
               execvp (argv[remaining], & argv[remaining+1]);
               // notreached unless error
               cerr << "ERROR: execvp failed"
-                   << ": " << strerror(errno) << endl;                
+                   << ": " << strerror(errno) << endl;
+              exit(1);
             }
           else if (pid > 0) // in parent
             {