From 9352d31c589213062abc575eb94ffd81ee62cadb Mon Sep 17 00:00:00 2001 From: Tao Li Date: Thu, 30 May 2019 10:22:02 +0800 Subject: [PATCH] Update the init parameters for opts Fix duplicated and missing parameters init opts.front opts.info opts.debug Closes-Bug: #1830990 Signed-off-by: Tao Li Change-Id: I275864e19612d4e01c4214f081810cd0dadd2323 --- mtce-common/src/daemon/daemon_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mtce-common/src/daemon/daemon_main.cpp b/mtce-common/src/daemon/daemon_main.cpp index de6f2aee..ed77edb2 100755 --- a/mtce-common/src/daemon/daemon_main.cpp +++ b/mtce-common/src/daemon/daemon_main.cpp @@ -121,10 +121,11 @@ void opts_init ( void) opts.help = false ; opts.log = false ; opts.test = false ; + opts.info = false ; opts.verbose = false ; opts.Virtual = false ; opts.active = false ; - opts.front = false ; + opts.debug = 0 ; opts.front = false ; opts.command = "" ; opts.username= "" ;