mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
database-mac: clean up /mnt/db after use
Leaving this unnecessary directory in place caused docker/for-mac#1379. Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
parent
8bb23d79ac
commit
b75c4070d1
@ -18,6 +18,7 @@ start() {
|
||||
[ $? -ne 0 ] && rm -rf /Database && printf "Could not mount configuration database\n" 1>&2 && eend 1
|
||||
cp -a /mnt/db/branch/master/ro/com.docker.driver.amd64-linux/* /Database
|
||||
umount /mnt/db
|
||||
rmdir /mnt/db
|
||||
|
||||
eend 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user