]>
git.proxmox.com Git - mirror_lxcfs.git/commitdiff
projects
/
mirror_lxcfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde6b41
)
bindings: use brackets to make logic clearer
author
Christian Brauner
<christian.brauner@ubuntu.com>
Thu, 28 May 2020 11:31:59 +0000
(13:31 +0200)
committer
Stéphane Graber
<stgraber@ubuntu.com>
Thu, 28 May 2020 15:37:18 +0000
(11:37 -0400)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/bindings.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bindings.c
b/src/bindings.c
index 1f9c6e6dadd2f538b87dbb8eed802f031f8125af..b89e28f20172064c954bac143dfe1778f84d91bc 100644
(file)
--- a/
src/bindings.c
+++ b/
src/bindings.c
@@
-224,7
+224,7
@@
static void prune_initpid_store(void)
}
now = time(NULL);
- if (now <
last_prune + PURGE_SECS
)
+ if (now <
(last_prune + PURGE_SECS)
)
return;
lxcfs_debug("Pruning init pid cache");