Add option to specify directory to search for credentials cache files
[nfs-utils.git] / utils / gssd / gss_destroy_creds
1 #!/bin/bash
2
3 path=`mount|grep rpc_pipefs|awk '{ print $3;exit }'`
4
5 if [ -z "$path" ]; then
6         echo "unable to find rpc_pipefs; is it mounted?"
7         exit 1
8 fi;
9
10 find "$path" -name 'krb5' -exec gss_clnt_send_err '{}' $* ';'
11