fix!: plugin list exit code 0 when no plugins are installed (#1597)

This commit is contained in:
Edwin Kofler 2023-07-26 04:51:54 -07:00 committed by GitHub
parent 4dd190466a
commit a029c00750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ plugin_list_command() {
) | awk '{ if (NF > 1) { printf("%-28s", $1) ; $1="" }; print $0}' ) | awk '{ if (NF > 1) { printf("%-28s", $1) ; $1="" }; print $0}'
else else
display_error 'No plugins installed' display_error 'No plugins installed'
exit 1 exit 0
fi fi
} }