aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-14 04:45:14 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-14 04:45:14 +0000
commit523ded347e99a3e45dda7327a2711b1d70ba6549 (patch)
tree623244ef27b45cd294e721f09eba987a7ef118e3
parent51dc50aed85165ee933a8367765dc4bcb7139efe (diff)
Fixed my silly backport error from r9861
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9870 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c
index 5c8a1bfba..0ec8f9979 100644
--- a/asterisk.c
+++ b/asterisk.c
@@ -2210,7 +2210,7 @@ int main(int argc, char *argv[])
#endif /* __CYGWIN__ */
- if (geteuid() && ast_opt_dump_core) {
+ if (geteuid() && option_dumpcore) {
if (prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) < 0) {
ast_log(LOG_WARNING, "Unable to set the process for core dumps after changing to a non-root user. %s\n", strerror(errno));
}