diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-22 01:40:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-22 15:42:11 +0200 |
| commit | 704c71ae870d8bfb7811567406f111e2f1efdc03 (patch) | |
| tree | 6d7201dd722aab1a9d81718c43862943d841c6f5 | |
| parent | 92472d51372c552fdc2c85a1197b326470addf64 (diff) | |
Wait a while for unmounts to go through in case we have to authenticate the user.
| -rw-r--r-- | src/tools/dcpomatic_disk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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, |
