12 Jul
2011
12 Jul
'11
10:55 a.m.
Avoid overriding error condition in case any custom stat_fail returns false. --- functions | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/functions b/functions index a3c3c5e..2bd6893 100644 --- a/functions +++ b/functions @@ -431,7 +431,7 @@ remove_leftover() { # Keep {x,k,g}dm happy with xorg mkdir -m 1777 /tmp/.{X11,ICE}-unix trap - ERR - (( error )) && stat_fail || stat_done + (( error == 0 )) && stat_done || stat_fail return $error } -- 1.7.1