[PC-BSD Commits] r7280 - pcbsd/current/src-qt4/pc-su

svn at pcbsd.org svn at pcbsd.org
Sun Jul 25 07:57:06 PDT 2010


Author: kris
Date: 2010-07-25 07:57:06 -0700 (Sun, 25 Jul 2010)
New Revision: 7280

Modified:
   pcbsd/current/src-qt4/pc-su/pc-su
Log:
Opps, bad logic



Modified: pcbsd/current/src-qt4/pc-su/pc-su
===================================================================
--- pcbsd/current/src-qt4/pc-su/pc-su	2010-07-25 14:55:30 UTC (rev 7279)
+++ pcbsd/current/src-qt4/pc-su/pc-su	2010-07-25 14:57:06 UTC (rev 7280)
@@ -2,7 +2,7 @@
 # Wrapper script which finds the right "su" program
 # to use for graphical root execution
 
-if [ `id -r -u` = "0" ] ; then
+if [ `id -r -u` != "0" ] ; then
         # Find the right "su" program to use
         which kdesu >/dev/null 2>/dev/null
         if [ "$?" = "0" ] ; then



More information about the Commits mailing list