We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecc5f6 commit 3c5d3c0Copy full SHA for 3c5d3c0
1 file changed
certs/ocsp/renewcerts.sh
@@ -1,5 +1,14 @@
1
#!/bin/sh
2
3
+# bwrap execution environment to avoid port conflicts
4
+if [ "${AM_BWRAPPED-}" != "yes" ]; then
5
+ bwrap_path="$(command -v bwrap)"
6
+ if [ -n "$bwrap_path" ]; then
7
+ export AM_BWRAPPED=yes
8
+ exec "$bwrap_path" --cap-add ALL --unshare-net --dev-bind / / "$0" "$@"
9
+ fi
10
+fi
11
+
12
check_result(){
13
if [ $1 -ne 0 ]; then
14
if [ -n "$2" ]; then
0 commit comments