Do not do anything when called without argument
This commit is contained in:
parent
95aa87cba9
commit
0a2148bb56
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
[ "$#" -eq 0 ] && exit
|
||||||
torsocks wget "$@"
|
torsocks wget "$@"
|
||||||
image="$(basename "$@")"
|
image="$(basename "$@")"
|
||||||
feh "$image"
|
feh "$image"
|
||||||
|
Loading…
Reference in New Issue
Block a user