From d13c0532de2bd36f8f42aed1fd94714a2406cf3d Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 22:29:45 +0000 Subject: Unbreak. --- www/mod_jail/files/patch-mod_jail.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 www/mod_jail/files/patch-mod_jail.c diff --git a/www/mod_jail/files/patch-mod_jail.c b/www/mod_jail/files/patch-mod_jail.c new file mode 100644 index 000000000000..5fccd8ad2756 --- /dev/null +++ b/www/mod_jail/files/patch-mod_jail.c @@ -0,0 +1,17 @@ +--- ./mod_jail.c.orig 2014-07-29 18:28:40.000000000 -0400 ++++ ./mod_jail.c 2014-07-29 18:28:56.000000000 -0400 +@@ -336,12 +336,12 @@ + if (geteuid()) { + ap_log_error(APLOG_MARK, APLOG_ALERT, 0, s, + "mod_jail can't jail when not started as root."); +- return; ++ return !OK; + } + if (chdir(cfg->jail.path) == -1) { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, + "mod_jail unable to chdir to %s.", cfg->jail.path); +- return; ++ return !OK; + } + if (jail(&cfg->jail) == -1) { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, -- cgit v1.2.3