Changeset 205 for trunk/src/sh_processcheck.c
- Timestamp:
- Dec 22, 2008, 10:05:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_processcheck.c
r204 r205 1092 1092 * with PID = i + 1024 1093 1093 */ 1094 static size_t p_store = 0; 1095 1094 1096 static int openvz_ok(short * res, size_t i) 1095 1097 { 1098 1096 1099 if (sh_prochk_openvz == S_FALSE) { 1097 1100 return 0; … … 1112 1115 } 1113 1116 1114 if (openvz_hidden) 1115 { 1117 if (openvz_hidden > 0) 1118 { 1119 p_store = i; 1116 1120 --openvz_hidden; 1121 return 1; 1122 } 1123 else if (i == p_store) 1124 { 1117 1125 return 1; 1118 1126 } … … 1409 1417 sh_prochk_interval = SH_PROCHK_INTERVAL; 1410 1418 sh_prochk_openvz = S_FALSE; 1419 p_store = 0; 1420 openvz_hidden = 0; 1411 1421 1412 1422 sh_prochk_free_list(process_check);
Note:
See TracChangeset
for help on using the changeset viewer.