Merge pull request #115 from kubetz/linkhandler
Linkhandler always exiting before case statement
This commit is contained in:
commit
bef4105562
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
scihub="http://sci-hub.tw/"
|
scihub="http://sci-hub.tw/"
|
||||||
|
|
||||||
# If no url given. Opens browser. For using script as $BROWSER.
|
# If no url given. Opens browser. For using script as $BROWSER.
|
||||||
[ -z "$1" ] && "$TRUEBROWSER" ; exit
|
[ -z "$1" ] && { "$TRUEBROWSER"; exit; }
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*mkv|*webm|*mp4|*gif|*youtube.com*|*hooktube.com*)
|
*mkv|*webm|*mp4|*gif|*youtube.com*|*hooktube.com*)
|
||||||
|
|
Loading…
Reference in a new issue