summaryrefslogtreecommitdiff
blob: c1eb9b91b640d3938f80f11de03527ba0a157758 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/gt5	2011-01-10 23:01:29.778000092 +0100
+++ b/gt5	2011-01-10 23:01:16.577000089 +0100
@@ -261,7 +261,7 @@
 
 #can du handle depths?
 DEPTH="$(du --help 2>&1 | "$AWK" '
-  /depth/{sub(/^[^-]*/,""); sub(/[N ].*/,""); print; exit}
+  /depth/{sub(/^[^-]*/,""); sub(/,[N ].*/,""); print; exit}
 ')$((MAX_DEPTH+1))"
 
 {