diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-14 05:01:18 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-14 05:01:18 +0000 |
commit | a3d46f310471f1d2c40061fca60debbed1c601eb (patch) | |
tree | 155658be433a9373942339b62f64a7a8fc4d3c0d /asterisk.c | |
parent | d6b82d872390f4529ff0f012b30a471f8f544f71 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@9879 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rw-r--r-- | asterisk.c | 2 |
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)); } |