13 lines
449 B
Plaintext
13 lines
449 B
Plaintext
$OpenBSD: patch-util_fbrun_FbRun_cc,v 1.2 2004/04/28 18:10:34 robert Exp $
|
|
--- util/fbrun/FbRun.cc.orig Sun Apr 18 14:00:22 2004
|
|
+++ util/fbrun/FbRun.cc Sun Apr 18 14:00:39 2004
|
|
@@ -110,7 +110,7 @@
|
|
// 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
|
|
}
|
|
|