1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

core: remove useless "exit 0"

This fixes the following shellcheck error:

SC2317 (info): Command appears to be unreachable. Check usage (or ignore if
invoked indirectly).
This commit is contained in:
Sébastien Helleu
2023-01-04 21:48:28 +01:00
parent 356028ee87
commit c52d630f82
-1
View File
@@ -146,7 +146,6 @@ if [ $# -eq 0 ]; then
fi
if [ "$1" = "test-patches" ]; then
test_patches
exit 0
fi
if [ $# -lt 2 ]; then
error_usage "missing arguments"