svn commit: r363402 - head/www/mod_jail/files
Adam Weinberger
adamw at FreeBSD.org
Tue Jul 29 22:29:45 UTC 2014
Author: adamw
Date: Tue Jul 29 22:29:45 2014
New Revision: 363402
URL: http://svnweb.freebsd.org/changeset/ports/363402
QAT: https://qat.redports.org/buildarchive/r363402/
Log:
Unbreak.
Added:
head/www/mod_jail/files/
head/www/mod_jail/files/patch-mod_jail.c (contents, props changed)
Added: head/www/mod_jail/files/patch-mod_jail.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/mod_jail/files/patch-mod_jail.c Tue Jul 29 22:29:45 2014 (r363402)
@@ -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,
More information about the svn-ports-head
mailing list