mirror of
https://github.com/zdharma-continuum/zconvey.git
synced 2026-09-10 07:06:21 -04:00
Correct reading of use_zsystem_flock boolean zstyle
This commit is contained in:
parent
d89c0bbbf4
commit
5b88a12a3a
|
|
@ -150,7 +150,7 @@ function zc-id() {
|
|||
ZCONVEY_CONFIG[check_interval]="$check_interval"
|
||||
|
||||
local use_zsystem_flock
|
||||
zstyle -b ":plugin:zconvey" use_zsystem_flock use_zsystem_flock || use_zsystem_flock="yes"
|
||||
zstyle -T ":plugin:zuid" use_zsystem_flock && use_zsystem_flock="yes"
|
||||
[[ "$use_zsystem_flock" = "yes" ]] && use_zsystem_flock="1" || use_zsystem_flock="0"
|
||||
ZCONVEY_CONFIG[use_zsystem_flock]="$use_zsystem_flock"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue