summaryrefslogtreecommitdiffstats
path: root/httpdate
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-03-05 16:45:29 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-03-05 16:45:29 +0100
commit19dfce5b99c2bb0ce0f95562264b2e6e6849803e (patch)
treefd2971be88c59777ab8d6a86887a32b22f45727e /httpdate
parent01be2df3867ec915fb9610c206cfd0d012674bd5 (diff)
downloadbin-19dfce5b99c2bb0ce0f95562264b2e6e6849803e.tar.gz
bin-19dfce5b99c2bb0ce0f95562264b2e6e6849803e.tar.xz
httpdate: use ssl
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'httpdate')
-rwxr-xr-xhttpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpdate b/httpdate
index 437f345..d802967 100755
--- a/httpdate
+++ b/httpdate
@@ -1,3 +1,3 @@
#!/bin/bash
-date -s "$(curl -I google.com | sed -rn "s/^Date: (.*)$/\1/p")"
+date -s "$(curl -I https://google.com | sed -rn "s/^Date: (.*)$/\1/p")"