diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-01-29 09:14:49 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-01-29 09:14:49 +0000 |
| commit | a090acab63c02900e86bd268fc9194fccf459d08 (patch) | |
| tree | 4322bc565bcf1a70a13ba30acde0f61a9aadc268 | |
| parent | 37814: run-help-ip: use an absolute path for the shebang. (diff) | |
| download | zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar.gz zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar.bz2 zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar.lz zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar.xz zsh-a090acab63c02900e86bd268fc9194fccf459d08.tar.zst zsh-a090acab63c02900e86bd268fc9194fccf459d08.zip | |
unposted: _init_d: Report failure to caller.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Completion/Unix/Command/_init_d | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2016-01-29 Daniel Shahaf <d.s@daniel.shahaf.name> + + * unposted: Completion/Unix/Command/_init_d: _init_d: Report + failure to caller. + 2016-01-28 Eric Cook <llua@gmx.com> * 37814: Kamil Dudka: Functions/Misc/run-help-ip: use /bin/zsh diff --git a/Completion/Unix/Command/_init_d b/Completion/Unix/Command/_init_d index 2bb8d538c..03af2dc9b 100644 --- a/Completion/Unix/Command/_init_d +++ b/Completion/Unix/Command/_init_d @@ -103,7 +103,7 @@ fi script=$words[1] [[ $script = */* ]] || script="$(_init_d_fullpath "$script")" -cmds=( $(_init_d_get_cmds) ) || return +cmds=( $(_init_d_get_cmds) ) || return 1 (( $#cmds )) || zstyle -a ":completion:${curcontext}:commands" commands cmds || cmds=(start stop) |
