=== modified file 'zsh-functions/confz_zsv_init' --- zsh-functions/confz_zsv_init 2014-06-24 14:25:30 +0000 +++ zsh-functions/confz_zsv_init 2014-06-24 09:26:49 +0000 @@ -7,21 +7,9 @@ zmodload zsh/datetime confz_zsv_configured_check() { - local -a confs failures - local f - - confs=( /etc/sv.d/*(N-.) ) - [[ -e /etc/svtab ]] && confs+=( /etc/svtab ) - (($#confs)) || die "no zsv configuration found" - for f in $confs; do - [[ $vars[svdir]/.zsv -nt $f ]] || failures+=( - "${(qqq)vars[svdir]}/.zsv not newer than ${(qqq)f}" - ) - done - + [[ -e /etc/svtab ]] || die do_command=( zsvgen ) - fail_reason=${(j:,:)failures} - return $#failures + [[ $vars[svdir]/.zsv -nt /etc/svtab ]] }