diff options
author | onefang | 2022-03-25 09:59:10 +1000 |
---|---|---|
committer | onefang | 2022-03-25 09:59:10 +1000 |
commit | ee4af9ebb77f58821ab1c3e4b4bb08d7d5f89301 (patch) | |
tree | 85eeec0a5e052a83598ae3cfc262b5173c9a0504 | |
parent | Use more threads for gitar compression. (diff) | |
download | opensim-SC-ee4af9ebb77f58821ab1c3e4b4bb08d7d5f89301.zip opensim-SC-ee4af9ebb77f58821ab1c3e4b4bb08d7d5f89301.tar.gz opensim-SC-ee4af9ebb77f58821ab1c3e4b4bb08d7d5f89301.tar.bz2 opensim-SC-ee4af9ebb77f58821ab1c3e4b4bb08d7d5f89301.tar.xz |
Move save i/oar to before gitar.
Should save some space. Very rarely needed the i/oar file anyway.
-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; |