[pulseaudio-commits] r1121 - /trunk/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Jul 20 06:24:57 PDT 2006


Author: ossman
Date: Thu Jul 20 15:24:57 2006
New Revision: 1121

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1121&root=pulseaudio&view=rev
Log:
Only warn when running as root and not --system.

Modified:
    trunk/src/daemon/main.c

Modified: trunk/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/daemon/main.c?rev=1121&root=pulseaudio&r1=1120&r2=1121&view=diff
==============================================================================
--- trunk/src/daemon/main.c (original)
+++ trunk/src/daemon/main.c Thu Jul 20 15:24:57 2006
@@ -437,8 +437,7 @@
     }
 
     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;




More information about the pulseaudio-commits mailing list