Only back off if _CM_TRAP is not set
Otherwise wait could return from the signal.
This commit is contained in:
parent
607a2f1127
commit
920c23b3cb
|
@ -151,7 +151,7 @@ while true; do
|
||||||
# Make sure we're interruptible for the sig_{en,dis}able traps
|
# Make sure we're interruptible for the sig_{en,dis}able traps
|
||||||
clipnotify &
|
clipnotify &
|
||||||
_CM_CLIPNOTIFY_PID="$!"
|
_CM_CLIPNOTIFY_PID="$!"
|
||||||
if ! wait "$_CM_CLIPNOTIFY_PID"; then
|
if ! wait "$_CM_CLIPNOTIFY_PID" && ! (( _CM_TRAP )); then
|
||||||
# X server dead?
|
# X server dead?
|
||||||
sleep 10
|
sleep 10
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue