diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index c7afb74..3a99afa 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2765,8 +2765,6 @@ byTab has the short name as the key, simData as the value. | |||
2765 | snprintf(toybuf, sizeof(toybuf), "save iar %s %s / password %s/%s_%s-%s.iar -c -f=/Trash", sim, last, scBackup, sim, last, date); | 2765 | snprintf(toybuf, sizeof(toybuf), "save iar %s %s / password %s/%s_%s-%s.iar -c -f=/Trash", sim, last, scBackup, sim, last, date); |
2766 | if (NULL != ourSims->backup) | 2766 | if (NULL != ourSims->backup) |
2767 | { | 2767 | { |
2768 | if ('\0' == rSync[0]) | ||
2769 | gitar(simd, sim, count, window, panes, pane, true, member, last); | ||
2770 | if (member) | 2768 | if (member) |
2771 | { | 2769 | { |
2772 | sendTmuxCmd(ourSims->backup, toybuf); | 2770 | sendTmuxCmd(ourSims->backup, toybuf); |
@@ -2787,6 +2785,8 @@ byTab has the short name as the key, simData as the value. | |||
2787 | } | 2785 | } |
2788 | } | 2786 | } |
2789 | } | 2787 | } |
2788 | if ('\0' == rSync[0]) | ||
2789 | gitar(simd, sim, count, window, panes, pane, true, member, last); | ||
2790 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); | 2790 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); |
2791 | } | 2791 | } |
2792 | else | 2792 | else |
@@ -2797,8 +2797,6 @@ byTab has the short name as the key, simData as the value. | |||
2797 | { | 2797 | { |
2798 | bool running = checkSimIsRunning(simd->tab); | 2798 | bool running = checkSimIsRunning(simd->tab); |
2799 | I("Sim %s is being backed up to %s/backups/%s-%s.oar.", simd->name, scRoot, simd->tab, date); | 2799 | I("Sim %s is being backed up to %s/backups/%s-%s.oar.", simd->name, scRoot, simd->tab, date); |
2800 | if ('\0' == rSync[0]) | ||
2801 | gitar(simd, sim, count, window, panes, pane, false, member, last); | ||
2802 | if (running) | 2800 | if (running) |
2803 | { | 2801 | { |
2804 | snprintf(toybuf, sizeof(toybuf), "save oar --all %s/%s-%s.oar", scBackup, simd->tab, date); | 2802 | snprintf(toybuf, sizeof(toybuf), "save oar --all %s/%s-%s.oar", scBackup, simd->tab, date); |
@@ -2818,6 +2816,8 @@ byTab has the short name as the key, simData as the value. | |||
2818 | I("%s is done rsyncing.", simd->name); | 2816 | I("%s is done rsyncing.", simd->name); |
2819 | } | 2817 | } |
2820 | } | 2818 | } |
2819 | if ('\0' == rSync[0]) | ||
2820 | gitar(simd, sim, count, window, panes, pane, false, member, last); | ||
2821 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); | 2821 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); |
2822 | } | 2822 | } |
2823 | break; | 2823 | break; |