6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u

Reviewed-by: ohair, dcubed
This commit is contained in:
Tim Bell 2009-10-21 00:12:59 -07:00
parent 5e986ae424
commit 820bae5fe3

View File

@ -307,7 +307,7 @@ EOF
#The alternative would be to use /usr/bin/pargs [pid] to get
#all the args for a process, splice them back into one
#long string, then grep.
UU=`/usr/bin/id -un`
UU=`/usr/xpg4/bin/id -u -n`
psCmd="pgrep -f -l -U $UU"
else
ulimit -c 0