From e4e5058fecfb1f3405e70faab13e49d0e2d4fa01 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sun, 8 Nov 2020 16:55:53 +0000 Subject: Update location of msgrelay.bash --- .../java/uk/co/blatech/blaears/controllers/MsgRelayController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java b/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java index 3514d4f..d3f9557 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java @@ -20,11 +20,11 @@ public class MsgRelayController { //Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "echo theblueroom " + text + " | bash /home/smsd/msgrelay.bash "}); model.addAttribute("result", "OK"); } catch (Exception e) { - System.out.println("Failed to run command echo theblueroom test " + text + " | bash /home/smsd/msgrelay.bash "); + System.out.println("Failed to run command echo theblueroom test " + text + " | bash /home/smsd/core/msgrelay.bash "); e.printStackTrace(); model.addAttribute("result", "failed"); } return "msgrelay"; } -} \ No newline at end of file +} -- cgit v1.2.3