Add inotify for information config
[platform/core/connectivity/stc-manager.git] / src / helper / helper-net-cls.c
old mode 100644 (file)
new mode 100755 (executable)
index e13c729..f3a2ef5
@@ -189,11 +189,8 @@ stc_error_e place_pids_to_net_cgroup(const int pid, const char *app_id)
        else
                path_to_net_cgroup_dir = FOREGROUND_CGROUP_NETWORK; //LCOV_EXCL_LINE
 
-       if (access(child_buf, F_OK)) {
-               if (STC_DEBUG_LOG)
-                       STC_LOGD("%s of %s is not existed", child_buf, app_id); //LCOV_EXCL_LINE
+       if (access(child_buf, F_OK))
                return cgroup_write_pid(path_to_net_cgroup_dir, app_id, pid);
-       }
 
        return cgroup_write_pidtree(path_to_net_cgroup_dir, app_id, pid); //LCOV_EXCL_LINE
 }