mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
12 lines
165 B
Bash
12 lines
165 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rootfs=$1
|
|
if [ -z "$rootfs" ]; then
|
|
>&2 echo "usage: $0 <container rootfs path>"
|
|
exit 1
|
|
fi
|
|
|
|
umount --recursive $rootfs
|
|
rm -rf $rootfs/.. |