From 209922efd7609b408fc5174291ef2fdc2e69412a Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 17 Nov 2021 03:25:44 +1000 Subject: Timing the rsync is silly. Also, "sh: 1: time: not found" --- src/sledjchisl/sledjchisl.c | 4 ++-- 1 file 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. sendTmuxCmd(ourSims->backup, ""); if ('\0' != rSync[0]) { - if (shellMeFail("time ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.iar %s", + if (shellMeFail("ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.iar %s", rSyncPort, scBackup, rSync)) E("rsync failed"); } @@ -2799,7 +2799,7 @@ byTab has the short name as the key, simData as the value. sendTmuxCmd(simd->paneID, ""); if ('\0' != rSync[0]) { - if (shellMeFail("time ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.oar %s", + if (shellMeFail("ionice -c3 nice -n 19 rsync -Ha -R --modify-window=2 --partial --port=%d --remove-source-files %s/*.oar %s", rSyncPort, scBackup, rSync)) E("rsync failed"); } -- cgit v1.1