Do not do anything when called without argument

This commit is contained in:
Felix Van der Jeugt 2020-08-20 15:56:31 +02:00
parent 95aa87cba9
commit 0a2148bb56
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
[ "$#" -eq 0 ] && exit
torsocks wget "$@" torsocks wget "$@"
image="$(basename "$@")" image="$(basename "$@")"
feh "$image" feh "$image"