no tac, use sed

This commit is contained in:
2025-12-19 13:39:09 +01:00
parent d631e68422
commit 1ff66bcc45

View File

@@ -25,7 +25,7 @@ steps:
- sysctl hw.usermem - sysctl hw.usermem
# clean up earlier runs, if any # clean up earlier runs, if any
- if jls | grep -q test; then jail -r test; mount | cut -d' ' -f3 | grep /jail | tac | while read D; do umount $D; done; fi - if jls | grep -q test; then jail -r test; mount | cut -d' ' -f3 | grep /jail | sed '1!G;h;$!d' | while read D; do umount $D; done; fi
- chflags -R noschg /jail - chflags -R noschg /jail
- rm -rf /jail - rm -rf /jail