added exitcode for container restart on psiphon restart

This commit is contained in:
swarupsengupta2007
2023-06-28 22:47:41 +05:30
parent e29b256f92
commit b7c19a8c13
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
if test "$1" -eq 256 ; then
e=$((128 + $2))
else
e="$1"
fi
echo "$e" > /run/s6-linux-init-container-results/exitcode