Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-04 20:48:39 -05:00 committed by GitHub
parent 0a6ba3adfa
commit 7effb3cb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,10 @@ chmod -R 755 /config/qBittorrent
child=$(pgrep -o -x qbittorrent-nox) child=$(pgrep -o -x qbittorrent-nox)
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S' echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'
while [ -e /proc/$child ]; do while true; do
sleep 0.1 if [ -e /proc/$child ]; then
else sleep 0.1
_handler else
_handler
fi
done done