]> code.delx.au - pulseaudio/commitdiff
Only warn when running as root and not --system.
authorPierre Ossman <ossman@cendio.se>
Thu, 20 Jul 2006 13:24:57 +0000 (13:24 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 20 Jul 2006 13:24:57 +0000 (13:24 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1121 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/main.c

index 14c16ab22591757b04ff96b0740a88741e2bcc20..d578f508b1dffe25fd8d65786b4a6ace34558fa3 100644 (file)
@@ -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;