Commit cd186e29c07f78383647c50e097dffa61d51ebbb
Handle HTTP/2 response
cel committed on 8/19/2018, 7:57:19 PMParent: 2096f35b03799f27ac1e12ded345cae328e4d72c
Files changed
ggscrape | changed |
ggscrape | ||
---|---|---|
@@ -39,9 +39,9 @@ | ||
39 | 39 … | } |
40 | 40 … | |
41 | 41 … | check_permission() { |
42 | 42 … | debug_print testing permission |
43 | - if ! req_fragment "forum/${group_id}%5B1-1-false%5D" -I | grep -q '200 OK' | |
43 … | + if ! req_fragment "forum/${group_id}%5B1-1-false%5D" -I | sed 1q | grep -q 200 | |
44 | 44 … | then |
45 | 45 … | echo 'Unable to access group.' >&2 |
46 | 46 … | return 1 |
47 | 47 … | fi |
Built with git-ssb-web