src/librc/librc-daemon.c: style fix
This commit is contained in:
parent
cc1bc6a4ce
commit
1f7582c78b
@ -131,7 +131,7 @@ rc_find_pids(const char *exec, const char *const *argv, uid_t uid, pid_t pid)
|
|||||||
if (exists("/proc/self/status")) {
|
if (exists("/proc/self/status")) {
|
||||||
fp = fopen("/proc/self/status", "r");
|
fp = fopen("/proc/self/status", "r");
|
||||||
if (fp) {
|
if (fp) {
|
||||||
while(! feof(fp)) {
|
while (! feof(fp)) {
|
||||||
rc_getline(&line, &len, fp);
|
rc_getline(&line, &len, fp);
|
||||||
if (strncmp(line, "envID:\t0", 8) == 0) {
|
if (strncmp(line, "envID:\t0", 8) == 0) {
|
||||||
openvz_host = true;
|
openvz_host = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user