13 lines
492 B
Plaintext
13 lines
492 B
Plaintext
$OpenBSD: patch-util_fbrun_FbRun_cc,v 1.3 2005/01/23 12:44:10 matthieu Exp $
|
|
--- util/fbrun/FbRun.cc.orig Fri Nov 19 13:01:44 2004
|
|
+++ util/fbrun/FbRun.cc Tue Jan 11 00:16:40 2005
|
|
@@ -117,7 +117,7 @@ void FbRun::run(const std::string &comma
|
|
// fork and execute program
|
|
if (!fork()) {
|
|
setsid();
|
|
- execl("/bin/sh", "/bin/sh", "-c", command.c_str(), 0);
|
|
+ execl("/bin/sh", "/bin/sh", "-c", command.c_str(), (void *)NULL);
|
|
exit(0); //exit child
|
|
}
|
|
|