osquery-1/osquery/main
George Guliashvili 3824c2e6cc Fix osquery exit with wrong status
Summary:
osquery returned status 1(error) always when osqueryd service install uninstall was requested by the flags.
Even if install/uninstall was successfull.

Add extra logging in case of success.
Exit with status 0 when successfully installed/uninstalled

Reviewed By: jessek

Differential Revision: D14622771

fbshipit-source-id: c0c7569a2b13434e2ad28ba92cba308024b044ec
2019-03-26 15:15:20 -07:00
..
posix Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
windows Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
benchmarks.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
BUCK Implement even producer to trace syscalls {kill, setuid} and dump them to experimental events streaming registry (#5519) 2019-03-14 09:40:10 -07:00
empty.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
fuzz.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
main.cpp Fix osquery exit with wrong status 2019-03-26 15:15:20 -07:00
main.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
tests.cpp Remove folly initialisation routine from osquery/core/init.cpp (#5475) 2019-02-28 05:32:20 -08:00