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

13 lines
499 B
Plaintext
Raw Normal View History

2009-07-12 15:58:28 -04:00
$OpenBSD: patch-slimserver_pl,v 1.3 2009/07/12 19:58:28 sthen Exp $
--- slimserver.pl.orig Mon Jun 15 23:02:33 2009
+++ slimserver.pl Sat Jul 4 15:00:23 2009
@@ -816,7 +816,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";
}