[PC-BSD Commits] r19056 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Tue Sep 11 11:22:09 PDT 2012


Author: kenmoore
Date: 2012-09-11 18:22:09 +0000 (Tue, 11 Sep 2012)
New Revision: 19056

Modified:
   pcbsd-projects/PCDM/pcdm-backend.cpp
Log:
Use /bin/sh to run HOME/.xprofile, rather then requiring it to be executable.



Modified: pcbsd-projects/PCDM/pcdm-backend.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-backend.cpp	2012-09-11 18:15:09 UTC (rev 19055)
+++ pcbsd-projects/PCDM/pcdm-backend.cpp	2012-09-11 18:22:09 UTC (rev 19056)
@@ -99,7 +99,7 @@
   QString cmd = "su "+saveUsername+" -c \""; //switch user command to start process properly
   // Setup to run the user's <home-dir>/.xprofile startup script
   if(QFile::exists(homeDir+"/.xprofile")){
-    cmd.append(homeDir+"/.xprofile; ");
+    cmd.append("/bin/sh "+homeDir+"/.xprofile; ");
   }
   //Add the DE startup command to the end
   cmd.append(saveX);



More information about the Commits mailing list