diff --git a/code/worker.sh b/code/worker.sh index 31ad93bd..89a1c67c 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -1,6 +1,6 @@ #!/bin/bash -URL=$(cat $1) +URL=$(cat $1 | head -n 1) echo $URL # Check if $URL starts with "http", otherwise exit