aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-11-17 03:25:44 +1000
committeronefang2021-11-17 03:25:44 +1000
commit209922efd7609b408fc5174291ef2fdc2e69412a (patch)
tree5f183b5b929a96d8be5a23da3526e64be1650033
parentrsyncPort is an integer. (diff)
downloadopensim-SC-209922efd7609b408fc5174291ef2fdc2e69412a.zip
opensim-SC-209922efd7609b408fc5174291ef2fdc2e69412a.tar.gz
opensim-SC-209922efd7609b408fc5174291ef2fdc2e69412a.tar.bz2
opensim-SC-209922efd7609b408fc5174291ef2fdc2e69412a.tar.xz
Timing the rsync is silly.
Also, "sh: 1: time: not found"
-rw-r--r--src/sledjchisl/sledjchisl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 28e19d9..10b5ece 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2769,7 +2769,7 @@ byTab has the short name as the key, simData as the value.
2769 sendTmuxCmd(ourSims->backup, ""); 2769 sendTmuxCmd(ourSims->backup, "");
2770 if ('\0' != rSync[0]) 2770 if ('\0' != rSync[0])
2771 { 2771 {
2772 if (shellMeFail("time ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.iar %s", 2772 if (shellMeFail("ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.iar %s",
2773 rSyncPort, scBackup, rSync)) 2773 rSyncPort, scBackup, rSync))
2774 E("rsync failed"); 2774 E("rsync failed");
2775 } 2775 }
@@ -2799,7 +2799,7 @@ byTab has the short name as the key, simData as the value.
2799 sendTmuxCmd(simd->paneID, ""); 2799 sendTmuxCmd(simd->paneID, "");
2800 if ('\0' != rSync[0]) 2800 if ('\0' != rSync[0])
2801 { 2801 {
2802 if (shellMeFail("time ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.oar %s", 2802 if (shellMeFail("ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.oar %s",
2803 rSyncPort, scBackup, rSync)) 2803 rSyncPort, scBackup, rSync))
2804 E("rsync failed"); 2804 E("rsync failed");
2805 } 2805 }