Add patch from Harald Koenig <koenig@science-computing.de>
authorKarolin Seeger <ks@samba.org>
Wed, 17 Oct 2007 13:20:22 +0000 (13:20 +0000)
committerKarolin Seeger <ks@samba.org>
Wed, 17 Oct 2007 13:20:22 +0000 (13:20 +0000)
Karolin

smbdotconf/misc/dfreecommand.xml

index d7fb675f2794f3f00389f78914866500aec8360a..de60c5e0767afcd8c2b74945488fa1d7fec7ca5c 100644 (file)
@@ -41,7 +41,7 @@
        Where the script dfree (which must be made executable) could be:
 <programlisting format="linespecific"> 
 #!/bin/sh
-df $1 | tail -1 | awk '{print $2&quot; &quot;$4}'
+df $1 | tail -1 | awk '{print $(NF-4),$(NF-2)}'
 </programlisting>
        or perhaps (on Sys V based systems):
 <programlisting format="linespecific">