Permalink
Browse files

Merge pull request #2153 from RetroPie/revert-2148-kill_joy2key

Revert " helpers: joy2keyStop: wait for successful SIGINT"
  • Loading branch information...
joolswills committed Oct 11, 2017
2 parents e95bca3 + 47eee2e commit b64e671f066bc0d2015760040b084413b8f2394a
Showing with 2 additions and 3 deletions.
  1. +2 −3 scriptmodules/helpers.sh
View
@@ -1025,9 +1025,8 @@ function joy2keyStart() {
## @brief Stop previously started joy2key.py process.
function joy2keyStop() {
if [[ -n $__joy2key_pid ]]; then
while kill -INT $__joy2key_pid 2>/dev/null; do
sleep 0.1
done
kill -INT $__joy2key_pid 2>/dev/null
sleep 1
fi
}

0 comments on commit b64e671

Please sign in to comment.