diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-07-11 21:02:26 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-07-11 21:02:26 +0200 |
commit | 24f0ae1ca95a64ae065b2c7fcc129709b3b61091 (patch) | |
tree | 6352bb03a0e3b00f5544e552d4c2a313effd8065 | |
parent | 6cf892bcb7f444d7941cb70308038193b8d9c602 (diff) |
checkpoint
-rwxr-xr-x | bin/menuscripts/tsh | 3 |
1 files changed, 1 insertions, 2 deletions
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" |