From 5b1b551418efe890bec37aa79d3d16346d96d0f0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 16 Jul 2017 18:19:28 +0000 Subject: [PATCH] completion: Return the correct error code from __vcsh_*. --- _vcsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_vcsh b/_vcsh index 3022c61..77ff976 100644 --- a/_vcsh +++ b/_vcsh @@ -138,7 +138,7 @@ function _vcsh () { _dispatch git git else curcontext="${curcontext%:*:*}:vcsh-${vcshcommand}:" - _call_function ret _vcsh-${vcshcommand} + _call_function ret _vcsh-${vcshcommand} && (( ret )) fi fi fi -- 2.39.5