Bugfixes (#27)

* Fix variable sticking.

* Use unset instead of empty string.

* Bugfix for Arch. Output enhancement for FreeBSD.

* Fix cron action for Debian.
This commit is contained in:
2022-05-22 06:23:28 -05:00
committed by GitHub
parent b644ba9479
commit cb9ae5eb18
3 changed files with 10 additions and 4 deletions

View File

@ -194,6 +194,8 @@
function_check_trash: |
function check-trash() {
unset OPTIND
unset clean
unset network
while (( $# > 0 )); do
case $1 in
-c | -y | --clean ) clean="Y" ;;