Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2014-01-24
2014-01-24 12:41:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>
bb303c4b8f557d4e013febb17dd5c11c5f84d38a (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
bb303c4b8f557d4e013febb17dd5c11c5f84d38a
Start: Improved robustness. Fixes [bug
6980 (#6980)
].
1:
#!/bin/sh #
-
#
$Id: start,v 1.158 2001/03/27 18:37:40 mast Exp $
+
#
$Id$
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
22:
fi ugid=`grep $gargs "='User'>" $DIR/Global_Variables 2>/dev/null\ | sed -e 's/.*<str>//' -e 's,</str>.*,,'`
-
if [ ! x$ugid = x ] ; then
+
if [ !
"
x$ugid
"
= x ] ; then
dp "Doing uid change to $ugid" oifs="$IFS";IFS=':';set $ugid;IFS="$oifs" if [ ! "x$2" = x ]; then