lib/misc/exec.cc
changeset 2 b3afb9f1e801
parent 0 6f7a81934006
--- a/lib/misc/exec.cc	Sun Jan 20 00:12:17 2008 +0100
+++ b/lib/misc/exec.cc	Sun Jan 20 00:22:09 2008 +0100
@@ -17,6 +17,7 @@
 #include <config.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -84,6 +85,5 @@
   
 int execute(const mystring& name)
 {
-  int i = execute(config, name);
-  return (i == 99) ? 0 : i;
+  return execute(config, name);
 }