Skip to content

Commit

Permalink
EnableAndStartDaemon: Return false if daemon is not started
Browse files Browse the repository at this point in the history
  • Loading branch information
jepio committed Dec 5, 2024
1 parent 9735160 commit c3d1b2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/commonutils/DaemonUtils.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ bool EnableAndStartDaemon(const char* daemonName, void* log)

if (false == IsDaemonActive(daemonName, log))
{
status = false;
if (EnableDaemon(daemonName, log) && StartDaemon(daemonName, log))
{
status = true;
Expand Down

0 comments on commit c3d1b2c

Please sign in to comment.