Do not do anything when called without argument
This commit is contained in:
parent
95aa87cba9
commit
0a2148bb56
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
[ "$#" -eq 0 ] && exit
|
||||||
torsocks wget "$@"
|
torsocks wget "$@"
|
||||||
image="$(basename "$@")"
|
image="$(basename "$@")"
|
||||||
feh "$image"
|
feh "$image"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue