[PC-BSD Commits] r9842 - pcbsd/current/src-sh/pc-su

svn at pcbsd.org svn at pcbsd.org
Thu Mar 31 08:58:59 PDT 2011


Author: kris
Date: 2011-03-31 08:58:59 -0700 (Thu, 31 Mar 2011)
New Revision: 9842

Modified:
   pcbsd/current/src-sh/pc-su/pc-su
Log:

Fixed usage bugs with pc-su and kdesu / gksu



Modified: pcbsd/current/src-sh/pc-su/pc-su
===================================================================
--- pcbsd/current/src-sh/pc-su/pc-su	2011-03-31 15:56:22 UTC (rev 9841)
+++ pcbsd/current/src-sh/pc-su/pc-su	2011-03-31 15:58:59 UTC (rev 9842)
@@ -6,12 +6,12 @@
         # Find the right "su" program to use
         which kdesu >/dev/null 2>/dev/null
         if [ "$?" = "0" ] ; then
-                kdesu $@
+                kdesu -c "$@"
                 exit $? 
         fi
         which gksu >/dev/null 2>/dev/null
         if [ "$?" = "0" ] ; then
-                gksu $@
+                gksu "$@"
                 exit $? 
         fi
 	



More information about the Commits mailing list