From 704c71ae870d8bfb7811567406f111e2f1efdc03 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Apr 2021 01:40:19 +0200 Subject: [PATCH] Wait a while for unmounts to go through in case we have to authenticate the user. --- src/tools/dcpomatic_disk.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index d199c4ace..a3b351c85 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -290,7 +290,8 @@ private: if (!_nanomsg.send(drive.as_xml(), 2000)) { throw CommunicationFailedError (); } - auto reply = _nanomsg.receive (2000); + /* The reply may have to wait for the user to authenticate, so let's wait a while */ + auto reply = _nanomsg.receive (30000); if (!reply || *reply != DISK_WRITER_OK) { auto * m = new MessageDialog ( this, -- 2.30.2