summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-02-02 19:27:13 +0100
committerlassulus <git@lassul.us>2023-02-02 19:27:13 +0100
commitb3ccfd3a789e59f16d2e1ef616cc23e89bab1598 (patch)
treeade80df4e9979dce3994ae9423f37a4a62852829
parent4a0e27488e80935719f3dc41a1c337f94068e450 (diff)
l mail: retry muchsync until success
-rw-r--r--lass/2configs/mail.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix
index 85259176b..0adef8f8c 100644
--- a/lass/2configs/mail.nix
+++ b/lass/2configs/mail.nix
@@ -184,7 +184,9 @@ let
"<enter-command>unset wait_key<enter> \
<shell-escape>${pkgs.writeDash "muchsync" ''
set -efu
- ${pkgs.muchsync}/bin/muchsync -F lass@green.r
+ until ${pkgs.muchsync}/bin/muchsync -F lass@green.r; do
+ sleep 1
+ done
''}<enter> \
'run muchsync to green.r'