diff options
Diffstat (limited to 'pkgs/games/build-support/build-sandbox/src/sandbox.c')
-rw-r--r-- | pkgs/games/build-support/build-sandbox/src/sandbox.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/pkgs/games/build-support/build-sandbox/src/sandbox.c b/pkgs/games/build-support/build-sandbox/src/sandbox.c deleted file mode 100644 index e2aa47cf..00000000 --- a/pkgs/games/build-support/build-sandbox/src/sandbox.c +++ /dev/null @@ -1,21 +0,0 @@ -#include <errno.h> -#include <stdio.h> -#include <string.h> -#include <unistd.h> - -#include "setup.h" - -int main(int argc, char **argv) -{ - if (!setup_sandbox()) - return 1; - - argv[0] = WRAPPED_PROGNAME; - if (execv(WRAPPED_PATH, argv) == -1) { - fprintf(stderr, "exec %s: %s\n", WRAPPED_PATH, strerror(errno)); - return 1; - } - - // Should never be reached. - return 1; -} |