diff options
-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")" |
index : bin | ||
My scripts | Florian Pritz |
summaryrefslogtreecommitdiffstats |
-rwxr-xr-x | httpdate | 2 |
@@ -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")" |