Fabio M. Di Nitto wrote: > hi, > > remove the hardcoded path to corosync as there is no guarantee the > executable is there. Leave it to PATH instead. > > add $@ so that we can pass options to corosync. This makes aisexec -f > works for example. > > Fabio > > Index: services/aisexec > =================================================================== > --- services/aisexec (revision 1847) > +++ services/aisexec (working copy) > @@ -1,3 +1,3 @@ > #!/bin/sh > export COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenable:openaisparser" > -/usr/sbin/corosync > +corosync $@
Looks good, but please use this idiom instead: corosync "$@" otherwise, arguments will be expanded multiple times. _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
