CC-4322: Prevent pypo-notify from hanging if server becomes unresponsive
-fixed
This commit is contained in:
parent
a56af856b8
commit
796885594f
|
@ -10,4 +10,5 @@ SCRIPT=`readlink -f $0`
|
||||||
# Absolute path this script is in
|
# Absolute path this script is in
|
||||||
SCRIPTPATH=`dirname $SCRIPT`
|
SCRIPTPATH=`dirname $SCRIPT`
|
||||||
|
|
||||||
cd ${SCRIPTPATH}/../ && python pyponotify.py "$@"
|
cd ${SCRIPTPATH}/../
|
||||||
|
timeout 15 python pyponotify.py "$@"
|
||||||
|
|
Loading…
Reference in New Issue