openbsd-ports/audio/squeezecenter/patches/patch-slimserver_pl

13 lines
499 B
Plaintext
Raw Normal View History

2009-01-27 20:36:00 -05:00
$OpenBSD: patch-slimserver_pl,v 1.2 2009/01/28 01:36:00 sthen Exp $
--- slimserver.pl.orig Tue Jan 20 02:35:56 2009
+++ slimserver.pl Wed Jan 21 01:28:36 2009
@@ -821,7 +821,7 @@ sub changeEffectiveUserAndGroup {
# MySQL can't be run as root, and it's generally a bad idea anyways.
# Try starting as 'slimserver' instead.
if (!defined($user)) {
- $user = 'slimserver';
+ $user = '_squeezecenter';
print STDERR "SqueezeCenter must not be run as root! Trying user $user instead.\n";
}