restart core after crach #132
This commit is contained in:
@@ -42,4 +42,12 @@ do
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if sin-box crashed
|
||||||
|
if ! kill -0 $tokill > /dev/null 2>&1; then
|
||||||
|
if [ "$signal" != "stop" ]; then
|
||||||
|
echo "Sing-Box with PID $tokill crashed. Breaking the loop..."
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
Reference in New Issue
Block a user