diff --git a/lch b/lch index 669ec90..d5c9dac 100755 --- a/lch +++ b/lch @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION=0.5r1 +VERSION=0.5r2 DEST=$1 shift 1 ORIG=$@ @@ -21,15 +21,12 @@ else case $DEST in "--help" | "-h") help - exit 0 ;; "--check" | "-c") check - exit 0 ;; "--install" | "-i") install $DEST $@ - exit 0 ;; *) if [ -z "$DEST" ] @@ -50,4 +47,5 @@ else fi ;; esac + exit 0 fi \ No newline at end of file diff --git a/lib/compressor.sh b/lib/compressor.sh index 8b7905b..f19e85e 100644 --- a/lib/compressor.sh +++ b/lib/compressor.sh @@ -37,5 +37,4 @@ function compressor() esac echo -e "\nDone" - exit 0 } diff --git a/lib/decompressor.sh b/lib/decompressor.sh index 6063106..d308812 100644 --- a/lib/decompressor.sh +++ b/lib/decompressor.sh @@ -37,5 +37,4 @@ function decompressor() esac echo -e "\nDone" - exit 0 } \ No newline at end of file diff --git a/lib/installer.sh b/lib/installer.sh index d7bb7af..f4f444b 100644 --- a/lib/installer.sh +++ b/lib/installer.sh @@ -82,5 +82,4 @@ function install() fi echo -e "\nDependencies installation finished\n" - exit 0 } \ No newline at end of file diff --git a/lib/resources.sh b/lib/resources.sh index 068d0b1..cdf27eb 100644 --- a/lib/resources.sh +++ b/lib/resources.sh @@ -45,7 +45,6 @@ function check() echo -e "\nIn order to use all the extensions install the packages: tar, bzip2, gzip, zip, unzip, 7za, rar, unrar" fi echo "" - exit 0 } function lowercase()