From: Nicolas Boisselier Date: Wed, 11 Aug 2021 21:35:37 +0000 (+0200) Subject: bin/nb-update X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=0a59bc15a5f0699fa8033bab74a71a04887df122;p=nb.git bin/nb-update --- diff --git a/bin/nb-update b/bin/nb-update index 2cd1b73c..1f64ec9b 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -99,13 +99,13 @@ for dir in $(nb_repos); do echo "Wrong user current user=$USER repo user=$user" false fi - ret=$? + ex_cmd=$? # # *-install # - if [ "$ret" != "0" ]; then - ex=$ret && echo ">err $ret" + if [ "$ex_cmd" != "0" ]; then + ex=$ex_cmd && echo ">err $ex_cmd" else cmd_root="true"