diff options
author | onefang | 2021-09-14 15:05:51 +1000 |
---|---|---|
committer | onefang | 2021-09-14 15:05:51 +1000 |
commit | 5046e7ddd8f4ceb73caf9b80a4b3530773127522 (patch) | |
tree | b22f5cef64f8ba138e50eab61f1eb404988ebf10 | |
parent | Log which tmux pane we are doing the load iar for. (diff) | |
download | opensim-SC-5046e7ddd8f4ceb73caf9b80a4b3530773127522.zip opensim-SC-5046e7ddd8f4ceb73caf9b80a4b3530773127522.tar.gz opensim-SC-5046e7ddd8f4ceb73caf9b80a4b3530773127522.tar.bz2 opensim-SC-5046e7ddd8f4ceb73caf9b80a4b3530773127522.tar.xz |
Run load iar in the correct pane.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index c563ee5..8ed7ada 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -5817,13 +5817,11 @@ notWritten: | |||
5817 | 5817 | ||
5818 | if (checkSimIsRunning(backupIARsim)) | 5818 | if (checkSimIsRunning(backupIARsim)) |
5819 | { | 5819 | { |
5820 | char *cmd = xmprintf("%d.%d", simd->window, simd->pane); | ||
5821 | char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); | 5820 | char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); |
5822 | 5821 | ||
5823 | I("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name); | 5822 | I("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name); |
5824 | V("In pane %s -> %s", cmd, c); | 5823 | V("In pane %s -> %s", simd->paneID, c); |
5825 | sendTmuxCmd(cmd, c); | 5824 | sendTmuxCmd(simd->paneID, c); |
5826 | free(cmd); | ||
5827 | free(c); | 5825 | free(c); |
5828 | } | 5826 | } |
5829 | } | 5827 | } |