l mail: retry muchsync until success

This commit is contained in:
lassulus 2023-02-02 19:27:13 +01:00
parent 4a0e27488e
commit b3ccfd3a78

View File

@ -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'