@@ -48,7 +48,7 @@ public class RsyncSceneListener {
String path = jsonObject.getString("path");
System.out.println(msg);
String cmd = RSYNC_CMD.replace("$port", port).replace("$source", path).replace("$user", username).replace("$host", host).replace("$dest", dest);
- CmdUtils.callLine(cmd);
+ CmdUtils.callLineSh(cmd);
channel.basicAck(message.getMessageProperties().getDeliveryTag(), false);
}