git://git.onelab.eu
/
lxc-userspace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set shell to /bin/sh. By default it is vsh
[lxc-userspace.git]
/
setns.c
diff --git
a/setns.c
b/setns.c
index
323825a
..
776804d
100644
(file)
--- a/
setns.c
+++ b/
setns.c
@@
-14,7
+14,7
@@
chfscontext(PyObject *self, PyObject *args)
int fd = open(filepath, O_RDONLY);
if (fd < 0) {
int fd = open(filepath, O_RDONLY);
if (fd < 0) {
- printf("Could not open ns file\n");
+
//
printf("Could not open ns file\n");
sts = -1;
goto out;
}
sts = -1;
goto out;
}
@@
-38,7
+38,7
@@
chcontext(PyObject *self, PyObject *args)
int fd = open(filepath, O_RDONLY);
if (fd < 0) {
int fd = open(filepath, O_RDONLY);
if (fd < 0) {
-
printf("Could not open ns file\n");
+
//
printf("Could not open ns file\n");
sts = -1;
goto out;
}
sts = -1;
goto out;
}