[cgmanager-devel] [cgmanager/cgmanager] 0147ea: create_main: set existed to -1, not 0
GitHub
noreply at github.com
Thu Sep 18 20:49:38 UTC 2014
Branch: refs/heads/master
Home: https://github.com/cgmanager/cgmanager
Commit: 0147ea57464356a8708931fc010b261f1a81ca61
https://github.com/cgmanager/cgmanager/commit/0147ea57464356a8708931fc010b261f1a81ca61
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-09-18 (Thu, 18 Sep 2014)
Changed paths:
M cgmanager.c
Log Message:
-----------
create_main: set existed to -1, not 0
The convention we use is 1 means existed, -1 does not. We can't use 0
because the nih-dbus-tool code will raise an error.
This caused 'cgm create all xxx' to always say "path existed"
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the cgmanager-devel
mailing list