projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001ba16
)
Fix macOS sanity check.
author
Carl Hetherington
<cth@carlh.net>
Tue, 28 Apr 2020 12:05:20 +0000
(14:05 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 28 Apr 2020 12:05:20 +0000
(14:05 +0200)
src/tools/dcpomatic_disk_writer.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_disk_writer.cc
b/src/tools/dcpomatic_disk_writer.cc
index e63a7a7a9d35bbb97a21644ef3037aba053370b8..3fabe3e28f8a90bb0b216351d490e8ace4650416 100644
(file)
--- a/
src/tools/dcpomatic_disk_writer.cc
+++ b/
src/tools/dcpomatic_disk_writer.cc
@@
-439,7
+439,7
@@
try
/* Do some basic sanity checks; this is a bit belt-and-braces but it can't hurt... */
#ifdef DCPOMATIC_OSX
- if (!starts_with(*device, "/dev/disk")) {
+ if (!starts_with(*device, "/dev/
r
disk")) {
LOG_DISK ("Will not write to %1", *device);
nanomsg->send(DISK_WRITER_ERROR "\nRefusing to write to this drive\n1\n", LONG_TIMEOUT);
return true;