Skip to content

Commit

Permalink
fix: code correction and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioDonda committed Oct 1, 2024
1 parent 5bb2e23 commit cb84914
Show file tree
Hide file tree
Showing 26 changed files with 48 additions and 3,078 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace configuration
manager_ip = "localhost"
[inventory]
disabled = false
enabled = true
interval = 3600
scan_on_start = true
hardware = true
Expand Down
1 change: 0 additions & 1 deletion src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ add_subdirectory(version_op)
if(BUILD_TESTS)
enable_testing()
endif()

1 change: 0 additions & 1 deletion src/common/data_provider/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ if(WIN32)
include_directories(${SRC_FOLDER}/common/file_op/include/)
include_directories(${SRC_FOLDER}/common/regex_op/include/)
include_directories(${SRC_FOLDER}/common/logger/include/)
include_directories(${SRC_FOLDER}/common/string_op/include/)
include_directories(${SRC_FOLDER}/common/bzip2_op/include/)
include_directories(${SRC_FOLDER}/common/validate_op/include/)
include_directories(${SRC_FOLDER}/common/binaries_op/include/)
Expand Down
7 changes: 4 additions & 3 deletions src/common/file_op/src/file_op.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,8 @@ void goDaemonLight()

dup2(1, 2);

// TODO: should we add this feature?
//nowDaemon();
// Deleted alongside the old debugger.
// nowDaemon();
}

/* Daemonize a process */
Expand Down Expand Up @@ -1183,7 +1183,8 @@ void goDaemon()
close(fd);
}

//nowDaemon();
// Deleted alongside the old debugger.
// nowDaemon();
}

#else /* WIN32 */
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/common/networkHelper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ add_library(networkHelper INTERFACE)

target_include_directories(networkHelper INTERFACE include)

target_link_libraries(networkHelper INTERFACE utils)
target_link_libraries(networkHelper INTERFACE utils)
1 change: 1 addition & 0 deletions src/common/privsep_op/src/privsep_op.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ int Privsep_Chroot(const char *path)
return (OS_INVALID);
}

// Deleted alongside the old debugger.
// nowChroot();
return (OS_SUCCESS);
}
Expand Down
5 changes: 0 additions & 5 deletions src/common/string_op/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit cb84914

Please sign in to comment.