]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/gssd/gss_destroy_creds
head/tail fixes
[nfs-utils.git] / utils / gssd / gss_destroy_creds
index 666bdd91682ad761cbefe0d185a5e00587e4afc2..1f978d1b3c1ffbf515c0c938fb3ea6daee465204 100644 (file)
@@ -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?"