Diff of /mcore-src/trunk/mcore-tools/src/include/common.global.class.in
Parent Directory | Revision Log | Patch
revision 2632 by niro, Tue Sep 29 10:36:33 2015 UTC | revision 2633 by niro, Tue Sep 29 10:37:48 2015 UTC | |
---|---|---|
# | Line 153 x11runas() | Line 153 x11runas() |
153 | if [[ -n $(pidof X) ]] || [[ -n $(pidof Xorg) ]] || [[ -n $(pidof Xorg.bin) ]] | if [[ -n $(pidof X) ]] || [[ -n $(pidof Xorg) ]] || [[ -n $(pidof Xorg.bin) ]] |
154 | then | then |
155 | su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@" | su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@" |
156 | else | |
157 | decho "x11runas(): No running X, Xorg or Xorg.bin process found" | |
158 | fi | fi |
159 | } | } |
160 |
|