Added additional check for hald daemon if hal-lock exists

svn path=/trunk/; revision=874
This commit is contained in:
Curtis Gedak 2008-07-27 15:31:34 +00:00
parent 7b3c92cae8
commit 51a2d0999d
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-07-27 Curtis Gedak <gedakc@gmail.com>
* gparted.in: Added additional check for hald daemon if hal-lock exists
- Closes GParted bug #543730
2008-07-26 Curtis Gedak <gedakc@gmail.com> 2008-07-26 Curtis Gedak <gedakc@gmail.com>
* configure.in: Removed full path from gksu * configure.in: Removed full path from gksu

View File

@ -19,8 +19,10 @@
HAVE_HAL_LOCK=no HAVE_HAL_LOCK=no
for k in '' `echo "$PATH" | sed 's,:, ,g'`; do for k in '' `echo "$PATH" | sed 's,:, ,g'`; do
if test -x "$k/hal-lock"; then if test -x "$k/hal-lock"; then
HAVE_HAL_LOCK=yes if test "z`ps -e | grep hald`" != "z"; then
break HAVE_HAL_LOCK=yes
break
fi
fi fi
done done