Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
5b9a9959
Commit
5b9a9959
authored
Oct 07, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev_mngr/dev_mngr.c: remove duplicate config file checking
parent
862746be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
dev_mngr.c
src/dev_mngr/dev_mngr.c
+0
-22
No files found.
src/dev_mngr/dev_mngr.c
View file @
5b9a9959
...
...
@@ -180,28 +180,6 @@ int main (int argc, char *argv[])
goto
err_cfg_exit
;
}
/* Check for field not found */
if
(
dmngr_daemonize_str
==
NULL
)
{
DBE_DEBUG
(
DBG_DEV_MNGR
|
DBG_LVL_FATAL
,
"[dev_mngr] Could not find "
"daemonize in configuration file
\n
"
);
goto
err_cfg_exit
;
}
else
{
if
(
streq
(
dmngr_daemonize_str
,
"yes"
))
{
dmngr_daemonize
=
1
;
}
else
if
(
streq
(
dmngr_daemonize_str
,
"no"
))
{
dmngr_daemonize
=
0
;
}
else
{
DBE_DEBUG
(
DBG_DEV_MNGR
|
DBG_LVL_FATAL
,
"[dev_mngr] Invalid option "
"for daemonize configuration variable
\n
"
);
goto
err_cfg_exit
;
}
}
DBE_DEBUG
(
DBG_DEV_MNGR
|
DBG_LVL_INFO
,
"[dev_mngr] Daemonize set to
\"
%d
\"\n
"
,
dmngr_daemonize
);
/**************************************************************************/
/********************** END of configuration variables ********************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment