From fa93406a7c827e31644d948135125a7c54a0dc2a Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Sat, 12 Dec 2015 22:50:33 +0000 Subject: Remove space in command --- .../java/uk/co/blatech/blaears/controllers/BlauploadController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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}); -- cgit v1.2.3