mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
throw an exception when /var/lock does not exist.. otherwise too subtle
This commit is contained in:
@@ -143,6 +143,8 @@ public class Serial implements SerialPortEventListener {
|
||||
"sudo mkdir -p /var/lock\n" +
|
||||
"sudo chmod 777 /var/lock";
|
||||
System.err.println(MESSAGE);
|
||||
throw new RuntimeException("Additional installation required to " +
|
||||
"use serial, read the console below.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user