From 2d723aa5b56e05d0b7c48d1bbfdf1d28a0474e8b Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 31 Jul 2021 19:18:06 +0200 Subject: [PATCH] Add exit after help --- arch-config/scripts/in_path/sc-compress | 1 + 1 file changed, 1 insertion(+) diff --git a/arch-config/scripts/in_path/sc-compress b/arch-config/scripts/in_path/sc-compress index 47a85514..3c8473a8 100755 --- a/arch-config/scripts/in_path/sc-compress +++ b/arch-config/scripts/in_path/sc-compress @@ -12,6 +12,7 @@ elif [ $1 == "-h" ] || [ $1 == "--help" ]; then echo "sc-compress ALGORITHM [STRENGTH] TARGET" echo "Algorithms: xz, zstd" echo "Strength: low, medium, high" + exit 0 else exit 1 fi