File: hibernate.sh.rej

package info (click to toggle)
hibernate 1.99-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 780 kB
  • ctags: 61
  • sloc: sh: 2,194; makefile: 58
file content (19 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
***************
*** 222,229 ****
  	    # Ensure the process still exists, and we aren't hallucinating.
  	    [ -d "/proc/$xpid/" ] || continue
  
- 	    xauth="`get_env_var_of_process XAUTHORITY $xpid`"
- 	    xhome="`get_env_var_of_process HOME $xpid`"
  	    xuser=`/bin/ls -ld /proc/$xpid/ | awk '{print $3}'`
  	    [ -z $xauth ] && [ -n $xhome ] && [ -f $xhome/.Xauthority ] && xauth=$xhome/.Xauthority
  
--- 222,229 ----
  	    # Ensure the process still exists, and we aren't hallucinating.
  	    [ -d "/proc/$xpid/" ] || continue
  
+ 	    xauth="`get_env_var_of_process $xpid XAUTHORITY`"
+ 	    xhome="`get_env_var_of_process $xpid HOME`"
  	    xuser=`/bin/ls -ld /proc/$xpid/ | awk '{print $3}'`
  	    [ -z $xauth ] && [ -n $xhome ] && [ -f $xhome/.Xauthority ] && xauth=$xhome/.Xauthority