From: Frank Ch. Eigler Date: Sun, 7 Dec 2025 21:01:03 +0000 (-0500) Subject: snap X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d80d7c933dcf58fd4d0cc9f6730af7acdc8253c;p=thirdparty%2Felfutils.git snap --- diff --git a/src/stackprof.cxx b/src/stackprof.cxx index 8f14b5b1..1a43969f 100644 --- a/src/stackprof.cxx +++ b/src/stackprof.cxx @@ -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 {