mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-19 13:41:02 +01:00
separate stop and rm
This commit is contained in:
@@ -25,7 +25,8 @@ steps:
|
||||
- sysctl hw.usermem
|
||||
|
||||
# clean up earlier runs, if any
|
||||
- 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
|
||||
- if jls | grep -q test; then jail -r test; fi
|
||||
- mount | cut -d' ' -f3 | grep /jail | sed '1!G;h;$!d' | while read D; do umount $D; done
|
||||
- chflags -R noschg /jail
|
||||
- rm -rf /jail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user