scripts: Fix lazy chown syntax
[hcoop/domtool2.git] / scripts / domtool-rmuser
1 #!/bin/sh -e
2
3 USER="$1"
4
5 if test -z "$USER"; then
6 echo Usage: domtool-rmuser USERNAME
7 exit 1
8 fi
9
10 rm -rf /afs/hcoop.net/common/etc/domtool/keys/$USER
11 rm /afs/hcoop.net/common/etc/domtool/certs/$USER.pem
12 domtool-admin rmuser $USER