mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Delete native library if it already exists (#179)
* Delete native library if it already exists * Spotless
This commit is contained in:
@@ -188,7 +188,7 @@ public class RequestHandler {
|
||||
|
||||
if (Platform.isRaspberryPi()) {
|
||||
try {
|
||||
new ShellExec().executeBashCommand("systemctl restart photonvision");
|
||||
new ShellExec().executeBashCommand("systemctl restart photonvision.service");
|
||||
} catch (IOException e) {
|
||||
logger.error("Could not restart device!", e);
|
||||
System.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user