gparted r874 - trunk



Author: gedakc
Date: Sun Jul 27 15:31:34 2008
New Revision: 874
URL: http://svn.gnome.org/viewvc/gparted?rev=874&view=rev

Log:
Added additional check for hald daemon if hal-lock exists

Modified:
   trunk/ChangeLog
   trunk/gparted.in

Modified: trunk/gparted.in
==============================================================================
--- trunk/gparted.in	(original)
+++ trunk/gparted.in	Sun Jul 27 15:31:34 2008
@@ -19,8 +19,10 @@
 HAVE_HAL_LOCK=no
 for k in '' `echo "$PATH" | sed 's,:, ,g'`; do
 	if test -x "$k/hal-lock"; then
-		HAVE_HAL_LOCK=yes
-		break
+		if test "z`ps -e | grep hald`" != "z"; then
+			HAVE_HAL_LOCK=yes
+			break
+		fi
 	fi
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]