diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | utils/gssd/gss_destroy_creds | 2 | ||||
-rwxr-xr-x | utils/nhfsstone/nhfsrun | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,9 @@ 2005-12-21 NeilBrown <neilb@suse.de> - utils/rquotad/rquota_server.c: Detect and handle both old-style + *utils/rquotad/rquota_server.c: Detect and handle both old-style (2.4) and new-style(2.6) quotactl. + *utils/gssd/gss_destroy_cred: remove dependence on "head -1" which + might need to be "head -n 1" + *utils/nhfsstone/nhfsrun: convert "tail -1" to "tail -n 1" 2005-12-20 Kevin Coffman <kwc@citi.umich.edu> NeilBrown <neilb@suse.de> Substantial Makefile/configure rewrite. 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 |