mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-03 16:00:36 +00:00
fix check in config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
3c9c67bb16
commit
c8ad2e11f9
@ -22,7 +22,7 @@ if [ ! -d /Database ]
|
||||
then
|
||||
mkdir -p /Database
|
||||
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 db /Database
|
||||
if [ $? -ne 1 ]
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
rm -rf /Database
|
||||
printf "Could not mount configuration database\n" 1>&2
|
||||
|
Loading…
Reference in New Issue
Block a user