X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=remove-user.sh;h=1b683e0bab670b950dfc8fda1376f40d39aefc99;hb=e8bca9ec3bc5683221540586893bdc155c0fe3b6;hp=bc143bcc4a19af5f3a1d4079eacc8259d4ab4963;hpb=d91da9a85cb1b5f8ca1b93ea7326eead1ee59c94;p=cloudstore.git diff --git a/remove-user.sh b/remove-user.sh index bc143bc..1b683e0 100755 --- a/remove-user.sh +++ b/remove-user.sh @@ -15,3 +15,4 @@ if dir=`grep ":$email:" $passwd | cut -d: -f6` ; then grep -v ":$email:" $passwd > $passwd.new && mv $passwd.new $passwd fi +find $SLICE/md5/ -links 1 -exec rm -fv {} \;