From 13f4e66b14245aee4b4eac51d1dfd56374bbb27e Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Tue, 14 Feb 2006 04:45:14 +0000 Subject: [PATCH] Fixed my silly backport error from r9861 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9870 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- asterisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asterisk.c b/asterisk.c index 5c8a1bfbad..0ec8f99796 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)); }