diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-12 22:50:33 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-12 22:50:33 +0000 |
commit | fa93406a7c827e31644d948135125a7c54a0dc2a (patch) | |
tree | 02dcffac6d060cd138c2a400018fc5d3e880e0b7 /src/main | |
parent | 8818d4c92a9ced100de48087f8869aa0bc07e988 (diff) |
Remove space in command
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/uk/co/blatech/blaears/controllers/BlauploadController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/BlauploadController.java b/src/main/java/uk/co/blatech/blaears/controllers/BlauploadController.java index cab146d..bb560a4 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/BlauploadController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/BlauploadController.java @@ -26,7 +26,7 @@ public class BlauploadController { model.addAttribute("result", "failed"); return "blaupload"; } - String command = "echo " + channel + " New file uploaded: " + url + " | bash /home/smsd/msgrelay.bash "; + String command = "echo " + channel + " New file uploaded: " + url + "| bash /home/smsd/msgrelay.bash "; log.info("Running command: [" + command + "]"); try { Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", command}); |