From 24f0ae1ca95a64ae065b2c7fcc129709b3b61091 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 11 Jul 2024 21:02:26 +0200 Subject: checkpoint --- bin/menuscripts/tsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/menuscripts/tsh b/bin/menuscripts/tsh index 0e2b64d..d07d0d5 100755 --- a/bin/menuscripts/tsh +++ b/bin/menuscripts/tsh @@ -46,7 +46,6 @@ trap "exit 1" INT trap "cleanup" EXIT ## OPTIONS -skip=0 while getopts ":hm:rs:c:fd" opt; do case $opt in h) @@ -107,7 +106,7 @@ done [ "${error:-0}" -eq 1 ] && exit 1 # Get the torrents with module -if [ $skip -eq 1 ]; then +if [ "${skip:-0}" -eq 1 ]; then module="$(tail -n 1 "$links")" else mkdir -p "$tmp" -- cgit v1.2.3