X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fgssd%2Fgss_destroy_creds;h=1f978d1b3c1ffbf515c0c938fb3ea6daee465204;hp=666bdd91682ad761cbefe0d185a5e00587e4afc2;hb=a6037e23a8c9d649bf5946ac9d23114f9097b997;hpb=f1bfe0916c04d93de7a4fae5315fff6e4ccac23f diff --git a/utils/gssd/gss_destroy_creds b/utils/gssd/gss_destroy_creds index 666bdd9..1f978d1 100644 --- a/utils/gssd/gss_destroy_creds +++ b/utils/gssd/gss_destroy_creds @@ -1,6 +1,6 @@ #!/bin/bash -path=`mount|grep rpc_pipefs|head -1|awk '{ print $3 }'` +path=`mount|grep rpc_pipefs|awk '{ print $3;exit }'` if [ -z "$path" ]; then echo "unable to find rpc_pipefs; is it mounted?"