throw an exception when /var/lock does not exist.. otherwise too subtle

This commit is contained in:
benfry
2012-08-05 14:37:33 +00:00
parent c6b8b17f9a
commit e85b1c7496

View File

@@ -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.");
}
}