Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 23:01:11 -05:00 committed by GitHub
parent 2a54ef286d
commit c95911ee8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ _handler() {
fi
}
#trap _handler SIGINT SIGTERM SIGHUP
trap _handler SIGINT SIGTERM SIGHUP
if [[ ! -e /config/qBittorrent ]]; then
mkdir -p /config/qBittorrent/config/
@ -36,5 +36,5 @@ while true; do
fi
done
#child=$(pgrep -o -x qbittorrent-nox)
#wait "$child"
child=$(pgrep -o -x qbittorrent-nox)
wait "$child"