summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 20eae17..6461351 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -54,7 +54,7 @@ SYSCTL_N="${SYSCTL} -n"
CMD_OSTYPE="${SYSCTL_N} kern.ostype"
OSTYPE=`${CMD_OSTYPE}`
ID="/usr/bin/id"
-JID=`ps -p $$ -o jid | tail -1 | tr -d ' '`
+JID=`ps -p $$ -o jid=`
IDCMD="if [ -x $ID ]; then $ID -un; fi"
case ${OSTYPE} in
OpenPOWER on IntegriCloud