#
# Copyright (c) 2004 The Trustees of Princeton University (Trustees).
#
-# $Id: vuseradd,v 1.18 2004/11/17 20:34:25 mef Exp $
+# $Id: vuseradd,v 1.19 2004/11/17 20:37:32 mlhuang Exp $
#
: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
# move it to .vcache when complete
if [ $RETVAL -ne 0 ] ; then
echo "Error $RETVAL building $VROOTDIR/$NAME"
- chattr -R -i "$TMP"
rm -rf "$TMP" /etc/vservers/$NAME.conf /var/run/vservers/$NAME.ctx
userdel -r $NAME
exit $RETVAL