>>> Dmitri Maziuk <[email protected]> schrieb am 29.08.2016 um 17:13 in Nachricht <[email protected]>: > On 2016-08-29 04:06, Gabriele Bulfon wrote: >> Thanks, though this does not work :) > > Uhm... right. Too many languages, sorry: perl's system() will call the > login shell, system system() uses /bin/sh, and exec()s will run whatever > the programmer tells them to. The point is none of them cares what > shell's in shebang line AFAIK.
Nonsense: If you use the exec system call, it uses the shebang; if you explictly call the script with a shell, that shell is used. Read the docs of the language or library! > > But anyway, you're correct; a lot of linux "shell" scripts are bash-only > and pacemaker RAs are no exception. > > Dima > > > _______________________________________________ > Users mailing list: [email protected] > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
