diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-03-05 16:45:29 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-03-05 16:45:29 +0100 |
commit | 19dfce5b99c2bb0ce0f95562264b2e6e6849803e (patch) | |
tree | fd2971be88c59777ab8d6a86887a32b22f45727e /httpdate | |
parent | 01be2df3867ec915fb9610c206cfd0d012674bd5 (diff) | |
download | bin-19dfce5b99c2bb0ce0f95562264b2e6e6849803e.tar.gz bin-19dfce5b99c2bb0ce0f95562264b2e6e6849803e.tar.xz |
httpdate: use ssl
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'httpdate')
-rwxr-xr-x | httpdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")" |