indent=4
[lxc-userspace.git] / Makefile
index 51f7cdb..15dacd5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
-all: vsh setns.so
-       
+all: vsh setns
+
 vsh: vsh.c
        gcc vsh.c -o vsh
 
 setns: setns.c
        python setup.py build
-       
 
 ########## sync
 # for use with the test framework; push local stuff on a test node
@@ -73,4 +72,5 @@ install: setns vsh
        install -D -m 755 lxcsu /usr/sbin/lxcsu
        install -D -m 755 lxcsu-internal /usr/sbin/lxcsu-internal
        chmod u+s /usr/sbin/lxcsu
+       chmod u+s /usr/sbin/vsh
        cp build/lib*/setns.so /usr/sbin