diff options
-rw-r--r-- | src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 +} |