From cec132672f3d83aed0cc9a86258cd02b68a99aef Mon Sep 17 00:00:00 2001 From: probonopd Date: Mon, 7 Aug 2017 14:21:26 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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