Oops, the diff was missing, again. Here is the `cvs diff -u
ocf-shellfuncs.in` output before I committed:

Index: ocf-shellfuncs.in
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/ocf-shellfuncs.in,v
retrieving revision 1.22
diff -u -r1.22 ocf-shellfuncs.in
--- ocf-shellfuncs.in   13 Nov 2005 17:00:02 -0000      1.22
+++ ocf-shellfuncs.in   15 Nov 2005 04:12:53 -0000
@@ -41,7 +41,7 @@
 . ${HA_D}/shellfuncs

 ocf_is_root() {
-       set `/usr/bin/id`
+       set `id`
        [ $1 = "uid=0(root)" ]
 }


On 11/15/05, [email protected]
<[email protected]> wrote:
> linux-ha CVS committal
>
> Author  : xunsun
> Host    :
> Project : linux-ha
> Module  : resources
>
> Dir     : linux-ha/resources/OCF
>
>
> Modified Files:
>         ocf-shellfuncs.in
>
>
> Log Message:
> by this fix it should work for systems who have id in PATH
>
>
> _______________________________________________
> Linux-ha-cvs mailing list
> [email protected]
> http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
>
--
Thanks & regards
Xun Sun
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to