mirror of
git://github.com/lxc/lxc
synced 2025-08-31 05:49:39 +00:00
Change freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED"
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
static int freeze_unfreeze(const char *name, int freeze)
|
static int freeze_unfreeze(const char *name, int freeze)
|
||||||
{
|
{
|
||||||
char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"RUNNING";
|
char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"THAWED";
|
||||||
int fd, ret = -1;
|
int fd, ret = -1;
|
||||||
|
|
||||||
snprintf(freezer, MAXPATHLEN,
|
snprintf(freezer, MAXPATHLEN,
|
||||||
|
Reference in New Issue
Block a user