From a029c007503f2eec911a0c836e8622bb38c5e065 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Wed, 26 Jul 2023 04:51:54 -0700 Subject: [PATCH] fix!: `plugin list` exit code 0 when no plugins are installed (#1597) --- lib/functions/plugins.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/plugins.bash b/lib/functions/plugins.bash index 1551707c..e38d4e61 100644 --- a/lib/functions/plugins.bash +++ b/lib/functions/plugins.bash @@ -42,7 +42,7 @@ plugin_list_command() { ) | awk '{ if (NF > 1) { printf("%-28s", $1) ; $1="" }; print $0}' else display_error 'No plugins installed' - exit 1 + exit 0 fi }