From 0762af2aeed6f590bf5833128185adf902eac0cf Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 20 Jul 2006 13:24:57 +0000 Subject: Only warn when running as root and not --system. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1121 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/daemon/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/daemon/main.c b/src/daemon/main.c index 14c16ab2..d578f508 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -437,8 +437,7 @@ int main(int argc, char *argv[]) { } if (real_root && !conf->system_instance) { - pa_log(__FILE__": This program is not intended to be run as root (unless --system is specified)."); - goto finish; + pa_log_warning(__FILE__": This program is not intended to be run as root (unless --system is specified)."); } else if (!real_root && conf->system_instance) { pa_log(__FILE__": Root priviliges required."); goto finish; -- cgit