summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-11-08 16:55:53 +0000
committerFbenas <philbeansburton@gmail.com>2020-11-08 16:55:53 +0000
commite4e5058fecfb1f3405e70faab13e49d0e2d4fa01 (patch)
treee238a184f7189695ab311d35ad7214fb89fe1951 /src
parent768110966553f2fac6f02fa88b85e6559a676251 (diff)
Update location of msgrelay.bash
Diffstat (limited to 'src')
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/MsgRelayController.java4
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
+}