kill mu4e_sync command because it sometimes isn't terminating.
This commit is contained in:
parent
7f196b3641
commit
20e3f66fdd
@ -29,7 +29,7 @@ function mu4e_update_index_and_alert {
|
|||||||
function mu4e_sync_command {
|
function mu4e_sync_command {
|
||||||
local flags=''
|
local flags=''
|
||||||
test -z "$*" || flags="-f $@"
|
test -z "$*" || flags="-f $@"
|
||||||
timeout $TIMEOUT zsh -c "offlineimap $flags"
|
timeout --kill-after "$TIMEOUT" "$TIMEOUT" zsh -c "offlineimap $flags"
|
||||||
}
|
}
|
||||||
|
|
||||||
function mu4e_update_index {
|
function mu4e_update_index {
|
||||||
|
Loading…
Reference in New Issue
Block a user