somehow yesterday's change got lost
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 22 Mar 2008 08:23:11 +0000 (08:23 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 22 Mar 2008 08:23:11 +0000 (08:23 +0000)
vserver-reference.init

index 1da2e99..287e5a2 100755 (executable)
@@ -63,10 +63,10 @@ if [ -f /proc/virtual/info ] ; then
        y=$[ (x >> 9) & 1]
        if test "$y" = 1 ; then 
                # COW support
-               find "$__DEFAULT_VSERVERDIR/.vref/default" -type f -print0 | xargs -0 setattr --iunlink
+               find "$__DEFAULT_VSERVERDIR/.vref"/* -type f -print0 | xargs -0 setattr --iunlink
        else 
                # no COW; 
-               find "$__DEFAULT_VSERVERDIR/.vref/default" -type f -print0 | xargs -0 setattr --~iunlink
+               find "$__DEFAULT_VSERVERDIR/.vref"/* -type f -print0 | xargs -0 setattr --~iunlink
        fi
 fi