aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2009-09-13 18:35:23 +0800
committerbrix <brix@FreeBSD.org>2009-09-13 18:35:23 +0800
commit92673443966d4e055c1d7bf3231523124a710761 (patch)
tree606e8853f3aa853f2a50f7c4cd9d443a9e38e4a0 /irc/bitlbee
parent6c50d32d4071a0033674d9754b482f27064f60ee (diff)
downloadfreebsd-ports-gnome-92673443966d4e055c1d7bf3231523124a710761.tar.gz
freebsd-ports-gnome-92673443966d4e055c1d7bf3231523124a710761.tar.zst
freebsd-ports-gnome-92673443966d4e055c1d7bf3231523124a710761.zip
- Use -u ${user} option to bitlbee instead of su in rc.d script
PR: ports/138268 Submitted by: garga
Diffstat (limited to 'irc/bitlbee')
-rw-r--r--irc/bitlbee/files/bitlbee.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/bitlbee/files/bitlbee.in b/irc/bitlbee/files/bitlbee.in
index 17499e50eea8..b8cc97636350 100644
--- a/irc/bitlbee/files/bitlbee.in
+++ b/irc/bitlbee/files/bitlbee.in
@@ -28,7 +28,7 @@ start_cmd="bitlbee_start"
bitlbee_start()
{
echo "Starting ${name}."
- su -m ${bitlbee_user} -c "${command} -D -c ${bitlbee_config} ${bitlbee_flags}"
+ ${command} -D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}
}
run_rc_command "$1"