If creation is failing, we want to see the errors so it's debuggable.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 4 Oct 2006 12:33:10 +0000 (12:33 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 4 Oct 2006 12:33:10 +0000 (12:33 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2347 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.functions

index 752bd85..2c02276 100644 (file)
@@ -715,7 +715,7 @@ function addtoCPUSET
        test -d /dev/cpuset/"$cpuset" || mkdir /dev/cpuset/"$cpuset" || configured=1
        for i in cpus mems cpu_exclusive mem_exclusive virtualized; do
            if test -e "$f"/"$i"; then
-               cat "$f"/"$i" >/dev/cpuset/"$cpuset"/"$i" 2>/dev/null || {
+               cat "$f"/"$i" >/dev/cpuset/"$cpuset"/"$i" || {
                    configured=1
                    break
                }