Browse code

Chore: fix find options order to prevent warning

Thomas Cataldo authored on 02/10/2019 09:40:51
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ test -d /var/spool/cyrus/meta || exit 1
4 4
 
5 5
 # leaf directories: https://stackoverflow.com/a/50548890/909674
6 6
 cd /var/spool/cyrus/meta && \
7
-    find . -type d -maxdepth 7 | cut -b3- | \
7
+    find . -maxdepth 7 -type d | cut -b3- | \
8 8
     sort -r | awk 'a!~"^"$0{a=$0;print}' | sort
9 9
 
10 10
 exit 0