From 26d6e4613ff45b23da203a8b432df4ef5f1b6a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sun, 14 Aug 2022 01:48:58 +0800 Subject: [PATCH] Exit 1 when jq is not present --- bash/bashrc/rbashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 6341bea..54d7bab 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -217,7 +217,7 @@ function rbash-list { } function r2ensource { - rbash-list + rbash-list || return 1 local _id _sel _tmp _en _en=()