From af20c60c0c8834ba245e4936390d01e6e4e4ac10 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 20 Mar 2008 19:13:24 +0000 Subject: [PATCH] If it's busy, assume it's already mounted. --- python/vserverimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vserverimpl.c b/python/vserverimpl.c index 5e28fa2..98125c9 100644 --- a/python/vserverimpl.c +++ b/python/vserverimpl.c @@ -612,7 +612,7 @@ vserver_mount(PyObject *self, PyObject *args) if (secure_chdir(&dirs, guest, target) == -1) goto out; - if (mount(source, ".", type, flags, data) == -1) + if (mount(source, ".", type, flags, data) == -1 && errno != EBUSY) goto out; restore_dirs(&dirs); -- 2.43.0