Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/common.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2632 by niro, Tue Sep 29 10:36:33 2015 UTC revision 2637 by niro, Tue Sep 29 11:59:31 2015 UTC
# Line 48  eecho() Line 48  eecho()
48   -n) shift; opts="n" ;;   -n) shift; opts="n" ;;
49   esac   esac
50    
51   # echo to stderr   echo -e${opts} "${COLRED}$@${COLDEFAULT}${webcrlf}"
  echo -e${opts} "${COLRED}$@${COLDEFAULT}${webcrlf}" 1>&2  
52  }  }
53    
54  # prints return values of get | enabled even in quiet mode  # prints return values of get | enabled even in quiet mode
# Line 153  x11runas() Line 152  x11runas()
152   if [[ -n $(pidof X) ]] || [[ -n $(pidof Xorg) ]] || [[ -n $(pidof Xorg.bin) ]]   if [[ -n $(pidof X) ]] || [[ -n $(pidof Xorg) ]] || [[ -n $(pidof Xorg.bin) ]]
153   then   then
154   su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@"   su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@"
155     else
156     decho "x11runas(): No running X, Xorg or Xorg.bin process found"
157   fi   fi
158  }  }
159    

Legend:
Removed from v.2632  
changed lines
  Added in v.2637