summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/gssd/gss_destroy_creds2
-rwxr-xr-xutils/nhfsstone/nhfsrun2
2 files changed, 2 insertions, 2 deletions
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?"
diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun
index dfc24eb..a0ac0f8 100755
--- a/utils/nhfsstone/nhfsrun
+++ b/utils/nhfsstone/nhfsrun
@@ -54,6 +54,6 @@ LOAD=$START
while [ $LOAD -le $END ]; do
echo nhfsstone -l $LOAD
nhfsstone -l $LOAD >> $OUTFILE
- tail -1 $OUTFILE
+ tail -n 1 $OUTFILE
LOAD=`expr $LOAD + $INCR`
done